Categories


Authors:
andrep
merz
logos
opensource software

FindBugs-IDEA

Products: IntelliJ IDEA

Vendor: Andre Pfeiler

Email:

Website: http://findbugs-idea.googlecode.com

SourceCode: http://findbugs-idea.googlecode.com

License: http://findbugs-idea.googlecode.com

Bugtracker page

Forum page

Description:

The FindBugs plugin 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?

FindBugs-IDEA plugin features:

  • FindBugs 3 support
  • Quickfix: annotate, suppress findbugs patterns (GutterIcon and document markup (alt+enter))
  • idea 12.1 until the latest 14 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
  • 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
  • run Findbugs analysis as IntelliJ inspection (experimental)
  • Analyze actions (all actions are also available in the intellij project tree, toolbar menu, context menu):
    • analyze all modified files
    • analyze all files on the active changelist (available from FindBugs-IDEA main ToolWindow and the ChangelistToolWindow)
    • analyze class under cursor
    • analyze current editor file
    • analyze all files of an intellij project
    • analyze all files of an intellij module
    • analyze all files of the selected package
    • analyze a bunch of selected files (project tree)
    • analyze 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

Downloads: 255181
Rating:
Participated in rating: 27
Version Since Build Until Build File/URL Size (Kb) Date Details
0.9.994. 129.713. 139.*. Download 6723.79 2014-11-09 20:22:53 details
0.9.99. 120.9999. 129.*. Download 5613.52 2013-12-04 20:02:55 details
0.9.98. 90.10781. . Download 5593.39 2013-08-25 16:02:39 details
0.9.96. 80.9013. . Download 5929.45 2010-10-30 02:01:48 details
0.9.92. . . Download 5048.59 2009-11-08 20:27:45 details
. .
18 updates are hidden show all updates
Screenshot #2541
Screenshot #2539
Screenshot #3021
Screenshot #2538
Screenshot #2542
Screenshot #3017
Screenshot #3016
Screenshot #2536
Screenshot #2567
Screenshot #2540
Screenshot #5749
Screenshot #5750
Screenshot #3018
Screenshot #3019
Screenshot #2543
Screenshot #3020

Recent change notes:

0.9.994
  • Bundle with FindBugs 3.0.1 EAP (Rev. 11189b911ff3) compiled with JDK 6
  • Issue 77
  • Update bundled custom plugins: fb-contrib 6.0.0 and find-sec-bugs 1.2.1
  • Plugin compatibility: IDEA 12.1.4 (129.713) until the latest IDEA 14 release (139.224)
0.9.993
  • Bundle with FindBugs 3.0.0
  • Issue 51
  • Issue 62
  • Issue 63
  • Issue 64
  • Issue 65
  • Bundled with custom plugins: findbugs-for-android 0.5, fb-contrib 5.2.1 and find-sec-bugs 1.2.0
  • Minor fixes, cleanups and improvements
  • Plugin compatibility: IDEA 12.1.4 (129.713) until the newest IDEA 13 release 13.1.3 (135.909) inclusive the latest EAP 13.1.4 (135.1146) and 14 (138.777)
0.9.992
  • Issue 46: support import findbugs settings from sonar profile xml
  • Issue 50: bundle with findbugs 2.0.3
  • Issue 52: Fix NPE and make element visitor more defensive
  • Issue 55: new default SuppressFBWarnings
  • Issue 56: disable "Analyze Package" action on invalid VirtualFile selection (f.e module directory selected)
  • Minor cleanups and improvements
  • Plugin compatibility: IDEA 12.1.4 (129.713) until the newest IDEA 13 release 13.0.2 (133.969) inclusive the latest EAP 13.1 (134.1160)
0.9.991
  • Issue 29: annotation color: do not change foreground and background - make only use of effect color and effect type (dark color theme problems)
  • Issue 41: compilemanager fixed (after hook idea 12)
  • some cleanups
  • Issue 47: New "Analyze Scope" action
  • IDEA 13 RC3 (133.162) compatibility (builds/works with 129.713 too)
0.9.99
  • mainly and many UI fixes/adaptations for the dark side of idea
  • some release management stuff
  • thanks to Reto Merz for contributing lot of fixes, enhancements and compatibility issues fixes
  • Issue 25
  • apply patch Issue 29 (settings panel) contributed by simon@billingsley.me.uk
  • apply patch Issue 38 IntelliJ FileChooser (dark theme osx) contributed by
0.9.98
  • thanks to Reto Merz for contributing lot of fixes, enhancements and compatibility issues fixes
  • removed idea8 compatibility
  • for details see revision: r201 - r219
  • import/export plugins findbugs settings
  • make plugin searchable
0.9.97
  • findbugs-2 support
  • Quickfix: annotate, suppress findbugs patterns
  • idea 9 until idea 12 compatibility
0.9.96
  • JumpToSource now works for anonymous classes (per default findbugs does not report any source line annotation for anonymous classes)
  • add preview support: preview bug in source file (Preview panel inside toolwindow)
  • add import bug collection from xml
  • export a bug collection to html and/or xml with limited configurable dir based archive support
  • fix export (xml, html)
  • fix Issue 14 (Inspection ID must satisfy [a-zA-Z_0-9.]+ pattern)
  • fix exclude- include filter settings and exclude base line bugs
  • fix issue 15 IDEA hangs when user closes FindBugs tab.
  • add persistence action states (scrollTosource, GroupBy, preview)
  • add bug pattern abbr to bug pattern result explanation view matching preference bug pattern category
  • configurable : open an exported bug collection html page in the intellij configured browser
  • configurable : default export dir
  • some performance improvements (non blocking Grouping and JavaPsiFacade.getInstance(...).findClass)
0.9.95
  • add export (xml html)
  • fix possible npe (balloontip)
  • add support for directory based config format
  • made openjdk-7 compatible
  • apdated some deprecated usages
0.9.94
  • fixed ClassCastException (unregister ChangelistAction)
0.9.93
  • fixed AbstractMethodError due to API change (ChangeListListener)
0.9.92
  • initialize default properties on run if empty
  • configurable: analyze affected files after compile
0.9.91
  • maybe fix init default properties on first init
  • show settings dialog (no configured detectors, categories)
  • rename all target (build.xml)
  • configurable activate tool window on analyzis run property
0.9.9
  • time to configure ... treated some configuration options:
  • configure findbugs on idea project and module level
    •  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 fs-contrib.jar
  • updated findbugs under the hood to version 1.3.9
  • new action: run analysis on all changed files of the the active (selected) changelist (findbugs-idea toolwindow and changelist toolwindow)
  • new action: group by bug rank
0.9.84-dev
  • refix [Issue #4] jump to source not working in win environments
  • updated findbugs under the hood to version 1.3.8
  • add findbugs bug pattern running as inspection (note: this is an experimental feature, quickfix (FindBugs.SuppressWaring()) is not fully/finally implemented)
0.9.83-dev
  • some minor fixes
  • fix again [Issue #7] Exception while navigating results tree
0.9.82-dev 0.9.81-dev 0.9.31-dev 0.9.30-dev 0.9.21 0.9.2 0.9.1

Comments:

Anonymous
2014-10-29 10:18:44
do not work with intellij 14 64 bit version
.
Anonymous
2014-07-08 13:08:28
The JRE that IntelliJ runs under in Mac OS X can be changed by modifying IntelliJ.app/Content/Info.plist: JVMVersion 1.6* IntelliJ on 1.8 seems to work on my system, but presumably there is a reason why JetBrains still runs under 1.6 on OS X by default, so there may be issues.
.
merz
2014-07-08 12:49:01
0.9.992 was bundled with Findbugs 2.0.3 which run with JRE 1.6. 0.9.993 is bundled with FindBugs is 3.0.0 which needs at least JRE 1.7, see http://findbugs.sourceforge.net/ So we can not really fix this because the plugin run within the IDEA JRE. This should only be a problem for OS X users because IDEA OS X version is still bundled with JRE 1.6 (contrary to the windows and unix version), for more details see http://youtrack.jetbrains.com/issue/IDEA-126360 There is also a link to an OS X IDEA version bundled with JRE 1.7. Bill Pugh says: "For people who need to run FindBugs using a Java 5 or 6 runtime, you should stick with the FindBugs 2.0 branch." ( https://mailman.cs.umd.edu/pipermail/findbugs-discuss/2014-July/004029.html ) So if you plan to run IDEA with JRE 1.6 download version 0.9.992 (click "show all updates")
.
Anonymous
2014-07-08 12:38:56
The 0.9.993 crashes with with the IntelliJ 13.1.3 community edition due to "Unsupported major.minor version 51.0". Don't update yet.
.
Anonymous
Rated:
2014-06-01 13:01:09
Does this the latest version 0.9.922 support the latest IDEA which build is 135.909? If it does, why I run it always show that "no class files found" ? Thanks.
.
Anonymous
Rated:
2013-12-05 21:09:56
great... works like charm with IDEA 13
.
andrep
2013-08-19 18:28:12
work in progress. in the settings press show advanced settings, the annotations-tab for color config etc. is already there but not functional.
.
mihel
Rated:
2013-08-18 13:21:33
It's a great plugin, but it really needs move the hardcoded BLACK font to the settings dialog from http://code.google.com/p/findbugs-idea/source/browse/trunk/src/src/impl/org/twodividedbyzero/idea/findbugs/gui/editor/BugAnnotator.java?r=203 It's possible to edit/compile it and update the JAR as a workaround, but it's no good
.
Anonymous
2013-07-30 13:13:05
Is it possible to import settings from URL, like http://some-settings.xml?
.
Anonymous
Rated:
2013-07-29 19:36:05
.
Anonymous
2013-03-27 13:47:01
Plesse file a bug
.
skingsland
2013-03-26 01:56:31
None of the buttons work; they all produce this error message: 5:51:28 PM NoSuchMethodError: Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(743,31),absolute(743,53),button=1,modifiers=Button1,clickCount=1] on frame2: com.yourkit.util.Asserts.notNull(Ljava/lang/Object;)V I'm using IDEA 12.1 EAP (build 129.60, the latest).
.
Anonymous
Rated:
2013-03-08 01:58:37
.
Anonymous
Rated:
2013-02-26 18:45:58
For Intellij 12.0.4 the following errors are raised: 2:30:45 PM NullPointerException: Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(42,740),absolute(70,768),button=1,modifiers=Button1,clickCount=1] on frame2 2:30:49 PM NullPointerException: Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(47,741),absolute(75,769),button=1,modifiers=Button1,clickCount=1] on frame2 4:37:03 PM ArrayIndexOutOfBoundsException: Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=org.twodividedbyzero.idea.findbugs.common.EventDispatchThreadHelper$1@3bd3553,notifier=null,catchExceptions=false,when=1361889423381] on apple.awt.CToolkit@40993028: 31
.
Anonymous
2013-01-03 15:05:27
fixed with the next release - within 2 or 3 days.
.