SpotBugs is a program which uses static analysis to look for bugs in Java code. It is free software, distributed under the terms of the Lesser GNU Public License.
SpotBugs is the spiritual successor of FindBugs, carrying on from the point where it left off with support of its community.
SpotBugs requires JRE (or JDK) 1.8.0 or later to run. However, it can analyze programs compiled for any version of Java, from 1.0 to 1.8.
SpotBugs checks for more than 400 bug patterns. Bug descriptions can be found here
SpotBugs can be used standalone and through several integrations, including:
SpotBugs is extensible. New detectors can be added through plugins. Popular SpotBugs plugins include:
Or, you could create your own by checking the documentation:
Support or Contact
You can contact us and report issues on GitHub