Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 207814 - Integrate FindBugs
Integrate FindBugs
Product: java
Classification: Unclassified
Component: Source
PC Linux
: P1 with 1 vote (vote)
: 7.2
Assigned To: Jan Lahoda
Depends on:
  Show dependency treegraph
Reported: 2012-01-27 09:16 UTC by Jan Lahoda
Modified: 2012-11-13 14:21 UTC (History)
5 users (show)

See Also:
Issue Type: TASK


Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2012-01-27 09:16:59 UTC
The FindBugs static code analysis tool should be integrated into NetBeans.
Comment 1 crazyjavahacking 2012-02-02 09:22:48 UTC
That is a really good idea. Because FindBugs already contains many usefull hints for example bunch of NullPointer dereference problems.

What about current hints that are already implemented in NetBeans but are part of FindBugs as well? Will those be removed and used from FindBugs instead?

What about connection to AST transformations?

Will those hints be treated as normal hints with optional refactorings or will they have independent UI?
Comment 2 ecerichter 2012-11-13 13:46:40 UTC
Also, there must be a way to update FindBugs without waiting for next release of NetBeans (at least for minor releases/bug fixes of FindBugs).

How to accomplish that without loosing functionality?

I mean, I don't expect that NetBeans automatically adjusts itself to major releases of FindBugs, but there must be a way to install the minor releases.

At this point, I have 7.3 dev build installed with FindBugs 2.0.0, and the latest version in the FindBugs web site is 2.0.1 that has a few bug fixes I would get incorporated.
Comment 3 Jan Lahoda 2012-11-13 14:21:37 UTC
Unfortunately, the "API" provided by FindBugs is not stable, at least as far as I know (and in some cases not sufficient). So as long as NetBeans will be held responsible for FB working or not, I do not see a supported way to allow the user upgrade the FB version used by NetBeans.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo