Skip to content
SpotBugs is FindBugs' successor. A tool for static analysis to look for bugs in Java code.
Java HTML XSLT TeX Shell Batchfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore: remove needless checkbox in PR template Mar 5, 2019
.travis close #779: sign eclipse plugin jar files Feb 11, 2019
docs release 4.0.0-RC1 Jan 20, 2020
eclipsePlugin-junit build: bump up Gradle to v6 (#1061) Jan 16, 2020
eclipsePlugin-test build: bump up Gradle to v6 (#1061) Jan 16, 2020
eclipsePlugin build: bump up Gradle to v6 (#1061) Jan 16, 2020
gradle build: bump up Gradle to v6 (#1061) Jan 16, 2020
spotbugs-annotations build: bump up Gradle to v6 (#1061) Jan 16, 2020
spotbugs-ant build: bump up Gradle to v6 (#1061) Jan 16, 2020
spotbugs-tests build: bump up Gradle to v6 (#1061) Jan 16, 2020
spotbugs build: bump up Gradle to v6 (#1061) Jan 16, 2020
spotbugsTestCases build: bump up Gradle to v6 (#1061) Jan 16, 2020
test-harness-core ci: replace maven plugin with maven-publish plugin Sep 30, 2019
test-harness-jupiter build: bump up Gradle to v6 (#1061) Jan 16, 2020
test-harness build: bump up Gradle to v6 (#1061) Jan 16, 2020
.gitignore close #779: sign eclipse plugin jar files Feb 11, 2019
.lgtm.yml Tell LGTM code analyzer to ignore the test cases Oct 21, 2018
.travis.yml build: bump up Gradle to v6 (#1061) Jan 16, 2020
CHANGELOG.md build: prepare for the next development Jan 20, 2020
LICENSE Create LICENSE Aug 20, 2017
README.md update document about how to build Eclipse plugin Feb 11, 2019
RELEASE_PROCEDURE.md remove needless operation from release procedure Apr 1, 2019
build.gradle build: prepare for the next development Jan 20, 2020
gradle.properties build: bump up Gradle to v6 (#1061) Jan 16, 2020
gradlew build: bump up Gradle to v6 (#1061) Jan 16, 2020
gradlew.bat build: bump up Gradle to v6 (#1061) Jan 16, 2020
settings.gradle build: bump up Gradle to v6 (#1061) Jan 16, 2020

README.md

SpotBugs

Build Status Documentation Status Coverage Status Maven Central Javadocs

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.

You can’t perform that action at this time.