FindBugs for IntelliJ IDEA
provides static byte code analysis to look for bugs in Java code from within IntelliJ IDEA. FindBugs is a defect detection tool for Java that uses static analysis to look for more than 200 bug patterns, such as null pointer dereferences, infinite recursive loops, bad uses of the Java libraries and deadlocks. FindBugs can identify hundreds of serious defects in large applications (typically about 1 defect per 1000-2000 lines of non-commenting source statements). The name FindBugs™ and the FindBugs logo are trademarked by The University of Maryland. As of July, 2008, FindBugs has been downloaded more than 700,000 times. FindBugs-IDEA uses FindBugs™ under the hood. For more information see http://findbugs.sourceforge.net/.
We use IDEA inspections and FindBugs complementary. FindBugs is running in our continuous integration process and IDEA inspections are used during coding.
What about using both during coding from within IntelliJ IDEA?
Features
- FindBugs 3 support
- Quickfix: annotate, suppress findbugs patterns (GutterIcon and document markup (alt+enter))
- Idea 13.0 until the latest 15 EAP compatibility
- Configure findbugs on idea project and module level
- Jump to source from results shown in toolwindow including anonymous classes
- Bug descriptions, solutions
- Run analysis always in background
- Run findbugs analysis on all affected files after compile/automake
- Min. priority to report
- Background scanning
- Configurable effort run level
- Configurable detectors
- Bug categories to report
- File filter (include, exclude, exclude baseline bugs)
- Load additional detector plugins like fb-contrib.jar
- Group results by: bug category, classname, package, priority, bug rank
- IntelliJ local history support
- Quick search within the result tree
- Basic Scala, Groovy and AspectJ support
- Analyze actions (all actions are also available in the IntelliJ project tree, toolbar menu, context menu):
- All modified files
- All files on the active changelist (available from FindBugs-IDEA main ToolWindow and the ChangelistToolWindow)
- Class under cursor
- Current editor file
- All files of an IntelliJ project
- All files of an IntelliJ module
- All files of the selected package
- A bunch of selected files (project tree)
- A scope
- Export a bug collection to html and/or xml with limited configurable dir based archive support
- Import a bug collection from xml
- Configurable : open an exported bug collection html page in the IntelliJ configured browser
- Configurable : preview found bugs in an editor preview panel
Authors and Contributors
Authors: André Pfeiler (@andrepdo), Reto Merz (@retomerz)
Contributors: are always welcome
Screenshots
Supporters
|
Araxis generously supports FindBugs-IDEA with free licenses of
Araxis Merge.
|
|
JetBrains sponsored free licenses for their premium products like
IDEA Ultimate.
|
|
YourKit is kindly supporting FindBugs-IDEA with its full-featured
Java Profiler.
|