fb-contrib™: A FindBugs™ auxiliary detector plugin
fb-contrib™ is an extra detector plugin to be used with the static bug
finder FindBugs™ (findbugs.sourceforge.net). Just download the fb-contrib.jar
file, and place it in the appropriate location based on how you wish to use it. (See below). FindBugs™ will
automatically pick up the jar file, and incorporate these detectors with its
fb-contrib can be used from the Findbugs™ Gui, Ant, or the eclipse plugin.
To run fb-contrib from the gui, or ant, just place the fb-contrib jar in the plugins directory inside of the
To run fb-contrib from eclipse, assuming that the main FindBugs plugin is installed,
simply drop the fb-contrib.jar in the plugins directory of eclipse, and restart eclipse.
The latest version of fb-contrib is 6.6.0 available for download
This version requires FindBugs 3.0.1 or better
Please note that active development for this project is now done on
github. If this site seems behind, please check there.
I will try to keep this site up to date, but I'd appreciate a poke if you see something missing.
Detectors added in git
Detectors added in v6.6.0
- [STB] Stacked Try Blocks
Looks for two or more try catch blocks that are consecutive and catch the
same kind of exception, and throw the same exception always. These blocks can
be coalesced into one.
- [JPAI] JPA Issues
Looks for various issues around the use of the Java Persistence API (JPA), including
with use with spring-tx.
- [SEO] Suboptimal Expression Order
Looks for conditional expressions where both simple local variable (in)equalities are used
along with method calls, where the method calls are done first. By placing the simple local
checks first, you eliminate potentially costly calls in some cases. This assumes that the methods
called won't have side-effects that are desired. At present it only looks for simple sequences
of 'and' based conditions.
- [IOI] IO Issues
looks for various issues around input/output/streaming Library use.
Detectors added in v6.4.0
Detectors added in v6.2.0
Detectors added in v6.0.0
Detectors added in v5.2.0
Detectors added in v5.0.0
Detectors added in v4.8.0
Detectors added in v4.6.0
Detectors added in v4.4.0
Detectors added in v4.2.0
Detectors added in v4.0.0
Detectors added in v3.8.0
Detectors added in v3.6.0
Detectors added in v3.4.0
Detectors added in v3.2.0
Detectors added in v3.0.0
Detectors added in v2.8.0
Detectors added in v2.6.0
Detectors added in v2.4.0
Detectors added in v2.2.0
Detectors added in v2.0.0
Detectors added in v1.8.0
Detectors added in v1.6.0
Detectors added in v1.4.0
Detectors added in v1.2.0
Detectors added in v1.0.0
Detectors added in v0.9.3
fb-contrib is a trademark of MeBigFatGuy.com
FindBugs is a trademark of University of Maryland