Skip to content

Commit d365126

Browse files
committed
fix: go back to rank 7
1 parent 5eb8dc9 commit d365126

File tree

1 file changed

+22
-14
lines changed

1 file changed

+22
-14
lines changed

spotbugs-exclude.xml

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,34 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<FindBugsFilter>
33

4-
<!-- set max rank value, where
5-
1-4 high priority
6-
5-9 medium priority
7-
10-14 low priority
8-
15-20 informational
4+
<!--
5+
set max rank value, where the higher the rank, the less serious the
6+
bug-prone behavior:
7+
- 1-4 high priority
8+
- 5-9 medium priority
9+
- 10-14 low priority
10+
- 15-20 informational
11+
FIXME:
12+
At rank 8, the number of bug detections skyrockets; many of them are suppressed
13+
below, but there are still many more bug detections to either fix or suppress.
14+
So for now, we set the max rank to 7.
915
-->
1016
<Match>
11-
<Rank value="8"/>
17+
<Rank value="7"/>
1218
</Match>
1319

14-
<!-- RANK 4 SUPRESSIONS -->
20+
<!--
21+
the following are suppressions, where we tell spotbugs to ignore
22+
certain problems; these are organized by rank
23+
-->
24+
25+
<!-- RANK 4 SUPPRESSIONS -->
1526
<Match> <!-- not ours -->
1627
<Bug pattern="UR_UNINIT_READ"/>
1728
<Class name="eu.mihosoft.vrl.v3d.ext.openjfx.shape3d.symbolic.SymbolicPolygonMesh"/>
1829
</Match>
1930

20-
<!-- RANK 8 SUPRESSIONS -->
31+
<!-- RANK 8 SUPPRESSIONS -->
2132
<Match> <!-- the pattern `while(phi > 360) phi -= 360.0;` -->
2233
<Bug pattern="FL_FLOATS_AS_LOOP_COUNTERS"/>
2334
</Match>
@@ -58,18 +69,15 @@
5869
<Class name="org.jlab.clas.detector.CalorimeterResponse"/>
5970
<Method name="readHipoEvent" params="org.jlab.io.base.DataEvent,String,org.jlab.detector.base.DetectorType"\>
6071
</Match>
61-
72+
<Match> <!-- since DefaultLogger may be deprecated soon; FIXME: this filter doesn't seem to work -->
73+
<Class name="org.jlab.logging.DefaultLogger"/>
74+
</Match>
6275

6376
<!-- HIGHER RANK SUPPRESSIONS -->
6477
<!-- <Match> --> <!-- not worth fixing -->
6578
<!-- <Class name="cnuphys.snr.ExtendedWord"/> -->
6679
<!-- <Bug pattern="EQ_SELF_USE_OBJECT"/> -->
6780
<!-- <Method name="equals" params="cnuphys.snr.ExtendedWord"/> -->
6881
<!-- </Match> -->
69-
<!-- <Match> --> <!-- DefaultLogger may be deprecated soon -->
70-
<!-- <Bug pattern="OBL_UNSATISFIED_OBLIGATION"/> -->
71-
<!-- <Class name="org.jlab.logging.DefaultLogger"/> -->
72-
<!-- <Method name="init" params="String"/> -->
73-
<!-- </Match> -->
7482

7583
</FindBugsFilter>

0 commit comments

Comments
 (0)