8

SpotBugs

 4 years ago
source link: https://spotbugs.github.io/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

SpotBugs

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 GNU Lesser General Public License.

SpotBugs is the spiritual successor of FindBugs, carrying on from the point where it left off with support of its community. Please check official manual site for details.

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.9.

Bug Descriptions

SpotBugs checks for more than 400 bug patterns. Bug descriptions can be found here

Descriptions are also available in Japanese

Using SpotBugs

SpotBugs can be used standalone and through several integrations, including:

To automatically configure the Eclipse SpotBugs plugin from the SpotBugs Maven plugin configuration, use m2e-code-quality.

Extensions

SpotBugs is extensible. New detectors can be added through plugins. Popular SpotBugs plugins include:

Or, you could create your own by checking the documentation:

API [no frames]

License of SpotBugs Logo

Following SpotBugs Logos and Icons are licensed under CC BY 4.0.

Support or Contact

You can report issues on GitHub.

Or, you can contact us using our general purpose mailing list.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK