SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.
Java HTML XSLT TeX Shell Batchfile
Permalink
Failed to load latest commit information.
.github delete needless checkbox in PR template Nov 13, 2017
docs release 3.1.1 Dec 1, 2017
eclipsePlugin-junit refs #292: prepare for Gradle 5 by replacing deprecated API Aug 8, 2017
eclipsePlugin-test delete trailing spaces Oct 13, 2017
eclipsePlugin Add missing package exports to plugin manifest, see #478 (#487) Nov 3, 2017
gradle Fixes gradle build not working with Java 9.0.1 Jan 5, 2018
spotbugs-annotations Allow 3.1.0 release to be released, disable spotbugs run on spotbugs Oct 24, 2017
spotbugs-ant Removed toolVersion from spotbugs tasks Oct 23, 2017
spotbugs-tests Properly report DLS issues on variables (even unnamed) Jan 5, 2018
spotbugs Properly report DLS issues on variables (even unnamed) Jan 5, 2018
spotbugsTestCases Properly report DLS issues on variables (even unnamed) Jan 5, 2018
test-harness-core add reserved module name Oct 15, 2017
test-harness-jupiter add reserved module name Oct 15, 2017
test-harness BugInstanceMatcher should support local variable names Jan 5, 2018
.gitignore gitignore bin directory Aug 31, 2017
.travis.yml delete all gradle plugin related files Nov 13, 2017
CHANGELOG.md Fixes gradle build not working with Java 9.0.1 Jan 5, 2018
LICENSE Create LICENSE Aug 20, 2017
README.md add docs badge Sep 25, 2017
RELEASE_PROCEDURE.md release 3.1.1 Dec 1, 2017
build.gradle prepare for next development Dec 1, 2017
gradle.properties Minor fixes (#114) Jan 31, 2017
gradlew Gradle 4.0.1 Jul 24, 2017
gradlew.bat Gradle build (#38) Nov 24, 2016
secring.gpg.enc replace wrong key file with right one Sep 25, 2017
settings.gradle delete all gradle plugin related files Nov 13, 2017

README.md

SpotBugs

Build Status Documentation Status Coverage Status Maven Central Javadocs

Coverage on New Code New Debt

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.

Questions?

You can contact us using our general purpose mailing list.