-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathspotbugs-exclude.xml
More file actions
27 lines (24 loc) · 876 Bytes
/
spotbugs-exclude.xml
File metadata and controls
27 lines (24 loc) · 876 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<FindBugsFilter>
<!-- Random number generation is not a security application in this library -->
<Match>
<Bug pattern="PREDICTABLE_RANDOM" />
</Match>
<!-- implementation of a numerical algorithm (false positive) -->
<Match>
<Bug pattern="FL_FLOATS_AS_LOOP_COUNTERS" />
<Class name="org.cicirello.math.rand.PolarGaussian" />
<Method name="nextGaussian" />
</Match>
<!-- implementation of a numerical algorithm (false positive) -->
<Match>
<Bug pattern="FL_FLOATS_AS_LOOP_COUNTERS" />
<Class name="org.cicirello.math.MathFunctions" />
<Method name="logGamma" />
</Match>
<!-- SpotBugs is hallucinating as the supposed dead local store is literally used the next line -->
<Match>
<Bug pattern="DLS_DEAD_LOCAL_STORE" />
<Class name="org.cicirello.math.MathFunctions" />
<Method name="logGamma" />
</Match>
</FindBugsFilter>