|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <FindBugsFilter> |
3 | 3 |
|
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. |
9 | 15 | --> |
10 | 16 | <Match> |
11 | | - <Rank value="8"/> |
| 17 | + <Rank value="7"/> |
12 | 18 | </Match> |
13 | 19 |
|
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 --> |
15 | 26 | <Match> <!-- not ours --> |
16 | 27 | <Bug pattern="UR_UNINIT_READ"/> |
17 | 28 | <Class name="eu.mihosoft.vrl.v3d.ext.openjfx.shape3d.symbolic.SymbolicPolygonMesh"/> |
18 | 29 | </Match> |
19 | 30 |
|
20 | | - <!-- RANK 8 SUPRESSIONS --> |
| 31 | + <!-- RANK 8 SUPPRESSIONS --> |
21 | 32 | <Match> <!-- the pattern `while(phi > 360) phi -= 360.0;` --> |
22 | 33 | <Bug pattern="FL_FLOATS_AS_LOOP_COUNTERS"/> |
23 | 34 | </Match> |
|
58 | 69 | <Class name="org.jlab.clas.detector.CalorimeterResponse"/> |
59 | 70 | <Method name="readHipoEvent" params="org.jlab.io.base.DataEvent,String,org.jlab.detector.base.DetectorType"\> |
60 | 71 | </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> |
62 | 75 |
|
63 | 76 | <!-- HIGHER RANK SUPPRESSIONS --> |
64 | 77 | <!-- <Match> --> <!-- not worth fixing --> |
65 | 78 | <!-- <Class name="cnuphys.snr.ExtendedWord"/> --> |
66 | 79 | <!-- <Bug pattern="EQ_SELF_USE_OBJECT"/> --> |
67 | 80 | <!-- <Method name="equals" params="cnuphys.snr.ExtendedWord"/> --> |
68 | 81 | <!-- </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> --> |
74 | 82 |
|
75 | 83 | </FindBugsFilter> |
0 commit comments