In this tutorial, we will learn to install the FindBugs Eclipse Plugin and use it for code analysis within Eclipse.
As most of us know, FindBugs is a static code analyser which operates on Java bytecodes, and helps identify a range of potential errors / bad code practice in Java programs. FindBugs does not require the program code to be executed in order to be analyzed for bugs.
FindBugs can be run through various options including command prompt, Maven build, Hudson continuous integration as well through plugins for other IDEs.
Before using the plugin, it is important to understand the main attributes of the FindBugs – namely rank and confidence.