FindBugs™ - Find Bugs in Java Programs
This is the web page for FindBugs, a program which uses static analysis to look for bugs in Java code. It is free software, distributed under the terms of the Lesser GNU Public License. The name FindBugs™ and the FindBugs logo are trademarked by The University of Maryland. FindBugs has been downloaded more than a million times.
The current version of FindBugs is 2.0.1.
FindBugs requires JRE (or JDK) 1.5.0 or later to run. However, it can analyze programs compiled for any version of Java, from 1.0 to 1.8. The current version of FindBugs is 2.0.1, released on 20:25:22 EDT, 12 July, 2012. We are very interested in getting feedback on how to improve FindBugs. File bug reports on our sourceforge bug tracker
Changes | Talks | Papers | Sponsors | Support
FindBugs 2.0 Release
After many delays, we have released FindBugs 2.0. We are pretty happy and confident about the functionality, although we know the documentation of the changes in 2.0 is lacking. We decided that releasing 2.0 took precedence over fixing the documentation. Anyone currently using FindBugs 1.3.9 should find FindBugs 2.0 to largely be a drop-in replacement that offers better accuracy and performance.
Also check out http://code.google.com/p/findbugs/w/list for more information about some recent features/changes in FindBugs.
Major changes in FindBugs 2.0
- FindBugs Communal cloud
- checks for updated versions of FindBugs
- Powerful plugin capabilities
- new bug patterns, including new/improved support for Guava and JSR-305
- improved performance
Ways to run FindBugs
Here are various ways to run FindBugs. For plugins not supported by the FindBugs team, check to see what version of FindBugs they provide; it might take a little while for the plugins to update to FindBugs 2.0.
-
Command line, ant, GUI
- Provided in FindBugs download Eclipse
- Update site for Eclipse plugin: http://findbugs.cs.umd.edu/eclipse. Supported by the FindBugs project. Maven
- http://mojo.codehaus.org/findbugs-maven-plugin/ Netbeans
- SQE: Software Quality Environment Hudson
- http://wiki.hudson-ci.org/display/HUDSON/FindBugs+Plugin IntelliJ
- Several plugins, see http://code.google.com/p/findbugs/wiki/IntellijFindBugsPlugins for a descrption.