Spotbugs alternatives and similar libraries
Based on the "Code Analysis" category.
Alternatively, view Spotbugs alternatives based on common mentions on social networks and blogs.
-
SonarQube
Integrates other analysis components via plugins and provides an overview of the metrics over time. -
Codacy
Continuous static analysis, code coverage, and software metrics to automate code reviews.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Spotbugs or a related project?
README
SpotBugs is the spiritual successor of FindBugs, carrying on from the point where it left off with support of its community.
SpotBugs is licensed under the GNU LESSER GENERAL PUBLIC LICENSE.
More information at the official website. A lot of things can still be found at the old FindBugs website.
Build
SpotBugs is built using Gradle. The recommended way to obtain it is to simply run the gradlew
(or gradlew.bat
) wrapper, which will automatically download and run the correct version as needed (using the settings in gradle/wrapper/gradle-wrapper.properties
).
To see a list of build options, run gradle tasks
(or gradlew tasks
). The build
task will perform a full build and test.
To build the SpotBugs plugin for Eclipse, you'll need to create the file eclipsePlugin/local.properties
, containing a property eclipseRoot.dir
that points to an Eclipse installation's root directory (see .travis.yml
for an example), then run the build.
To prepare Eclipse environment only, run ./gradlew eclipse
. See also detailed steps.
Using SpotBugs
SpotBugs can be used standalone and through several integrations, including:
Questions?
You can contact us using our general purpose mailing list.
*Note that all licence references and agreements mentioned in the Spotbugs README section above
are relevant to that project's source code only.