You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Stroud Custer <cu...@gmail.com> on 2023/08/27 00:45:50 UTC

Static Code Analysis Tutorial Review - FindBugs plugin not available

Static Code Analysis Tutorial 
<https://netbeans.apache.org/kb/docs/java/code-inspect.html>

This tutorial includes instructions for using a plugin called FindBugs, 
which is not shown in the list of Available  Plugins in NB19.  Is there 
a source for an NB19 version of this plugin?

Re: Static Code Analysis Tutorial Review - FindBugs plugin not available

Posted by Thomas Wolf <tj...@gmail.com>.
I think the successor to FindBugs is SpotBugs - although I don’t know if
there’s a NB plug-in for it.

  

Tom

  

> On Aug 26, 2023, at 8:46 PM, Stroud Custer <cu...@gmail.com> wrote:  
>  
>

> 
>
> [Static Code Analysis
> Tutorial](https://netbeans.apache.org/kb/docs/java/code-inspect.html)
>
> This tutorial includes instructions for using a plugin called FindBugs,
> which is not shown in the list of Available  Plugins in NB19.  Is there a
> source for an NB19 version of this plugin?  
>


Re: Static Code Analysis Tutorial Review - FindBugs plugin not available

Posted by Benjamin Neuman <ne...@gmail.com>.
+1 vote from me for getting the find/spot bugs plugin working again.
Unfortunately, I would be of little to no help in making the needed changes.

On Fri, Sep 1, 2023, 05:59 Sven Reimers <sv...@gmail.com> wrote:

> Hi all,
>
> as the original author of the NetBeans findbugs plugin I can offer
> support, if there is interest in creating a spotbugs plugin for NetBeans.
> One problem here, was always to keep the configuration between the build
> tool and the IDE in sync. On the other hand having more static analysis
> available as you type was always nice...
>
> Another tool which could be used is the sonar linter...
>
> Open for comments...
>
> Sven
>
> Michael Bien <mb...@gmail.com> schrieb am So., 27. Aug. 2023, 12:18:
>
>> Hi Stroud,
>>
>> the last pieces of FindBugs support were removed in NetBeans 13 (#3455)
>> since it caused issues back then and wasn't maintained. FindBugs project
>> itself is also EOL and got replaced by SpotBugs as already mentioned.
>>
>> The tutorial is out of date. Currently, NetBeans supports the already
>> integrated inspections and those written in the declarative Jackpot
>> language:
>> https://netbeans.apache.org/jackpot/HintsFileFormat.html
>>
>> Today, you would typically add the spotbugs maven plugin to the build and
>> use it in an IDE independent manner both for CI and locally.
>>
>> -mbien
>>
>>
>> On 27.08.23 02:45, Stroud Custer wrote:
>>
>> Static Code Analysis Tutorial
>> <https://netbeans.apache.org/kb/docs/java/code-inspect.html>
>>
>> This tutorial includes instructions for using a plugin called FindBugs,
>> which is not shown in the list of Available  Plugins in NB19.  Is there a
>> source for an NB19 version of this plugin?
>>
>>
>>

Re: Static Code Analysis Tutorial Review - FindBugs plugin not available

Posted by Sven Reimers <sv...@gmail.com>.
Hi all,

as the original author of the NetBeans findbugs plugin I can offer support,
if there is interest in creating a spotbugs plugin for NetBeans. One
problem here, was always to keep the configuration between the build tool
and the IDE in sync. On the other hand having more static analysis
available as you type was always nice...

Another tool which could be used is the sonar linter...

Open for comments...

Sven

Michael Bien <mb...@gmail.com> schrieb am So., 27. Aug. 2023, 12:18:

> Hi Stroud,
>
> the last pieces of FindBugs support were removed in NetBeans 13 (#3455)
> since it caused issues back then and wasn't maintained. FindBugs project
> itself is also EOL and got replaced by SpotBugs as already mentioned.
>
> The tutorial is out of date. Currently, NetBeans supports the already
> integrated inspections and those written in the declarative Jackpot
> language:
> https://netbeans.apache.org/jackpot/HintsFileFormat.html
>
> Today, you would typically add the spotbugs maven plugin to the build and
> use it in an IDE independent manner both for CI and locally.
>
> -mbien
>
>
> On 27.08.23 02:45, Stroud Custer wrote:
>
> Static Code Analysis Tutorial
> <https://netbeans.apache.org/kb/docs/java/code-inspect.html>
>
> This tutorial includes instructions for using a plugin called FindBugs,
> which is not shown in the list of Available  Plugins in NB19.  Is there a
> source for an NB19 version of this plugin?
>
>
>

Re: Static Code Analysis Tutorial Review - FindBugs plugin not available

Posted by Michael Bien <mb...@gmail.com>.
Hi Stroud,

the last pieces of FindBugs support were removed in NetBeans 13 (#3455) 
since it caused issues back then and wasn't maintained. FindBugs project 
itself is also EOL and got replaced by SpotBugs as already mentioned.

The tutorial is out of date. Currently, NetBeans supports the already 
integrated inspections and those written in the declarative Jackpot 
language:
https://netbeans.apache.org/jackpot/HintsFileFormat.html

Today, you would typically add the spotbugs maven plugin to the build 
and use it in an IDE independent manner both for CI and locally.

-mbien


On 27.08.23 02:45, Stroud Custer wrote:
>
> Static Code Analysis Tutorial 
> <https://netbeans.apache.org/kb/docs/java/code-inspect.html>
>
> This tutorial includes instructions for using a plugin called 
> FindBugs, which is not shown in the list of Available  Plugins in 
> NB19.  Is there a source for an NB19 version of this plugin?
>