Skip to content

Commit 9c376ff

Browse files
authored
feat: Exclude JMH benchmarks from SpotBugs (#15)
1 parent 74326b5 commit 9c376ff

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

findbugs/findbugs-exclude.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,13 @@
2525
<Match>
2626
<Package name="~org\.terasology\.protobuf.*" />
2727
</Match>
28+
<Match>
29+
<Class name="~.*jmhTest"/>
30+
</Match>
31+
<Match>
32+
<Class name="~.*jmhType.*"/>
33+
</Match>
34+
<Match>
35+
<Bug pattern="JMH_BENCHMARK_METHOD_FOUND"/>
36+
</Match>
2837
</FindBugsFilter>

0 commit comments

Comments
 (0)