Effort value adjusts internal flags of SpotBugs, to reduce computation cost by lowering the prediction.
The default effort configuration is same with more
.
Flags in FindBugs.java |
Description |
Effort Level |
|||
---|---|---|---|---|---|
min |
less |
more |
max |
||
Accurate Exceptions |
Determine (1) what exceptions can be thrown on exception edges, (2) which,catch blocks are reachable, and (3) which exception edges carry only, “implicit” runtime exceptions. |
✔ |
✔ |
✔ |
|
Model Instanceof |
Model the effect of instanceof checks in type analysis |
✔ |
✔ |
✔ |
|
Track Guaranteed Value Derefs in Null Pointer Analysis |
In the null pointer analysis, track null values that are guaranteed to be, dereferenced on some (non-implicit-exception) path. |
✔ |
✔ |
||
Track Value Numbers in Null Pointer Analysis |
In the null pointer analysis, track value numbers that are known to be, null. This allows us to not lose track of null values that are not, currently in the stack frame but might be in a heap location where the, value is recoverable by redundant load elimination or forward, substitution. |
✔ |
✔ |
||
Interprocedural Analysis |
Enable interprocedural analysis for application classes. |
✔ |
✔ |
||
Interprocedural Analysis of Referenced Classes |
Enable interprocedural analysis for referenced classes (non-application classes). |
✔ |
|||
Conserve Space |
Try to conserve space at the expense of precision. e.g. Prune unconditional exception thrower edges for control flow graph analysis, to reduce memory footprint. |
✔ |
|||
Skip Huge Methods |
Skip method analysis if length of its bytecode is too long (6,000). |
✔ |
✔ |
✔ |