FindBugs is an open-source tool for Static Code Analysis of Java application source code. The tool is currently inactive. The active successor of the tool is known as SpotBugs. The tool scans the Java bytecode for bug patterns to find defects and violations.
It is termed as static because the Java application is not executed to find the defects in the code. The tool needs the .class files but it is not necessary to execute the Java application code for the static analysis. The tool helps the software teams to prevent code defects and to write better Java code.
Install SpotBugs Eclipse Plugin
Steps to install the tool in Eclipse IDE :