Skip to content

maruthijr/sonar-findbugs

 
 

Repository files navigation

Sonar Findbugs Build Status FindBugs Rules Dependency Status

Description / Features

This plugin requires the Java Plugin, and uses FindBugs, fb-contrib and Find Security Bugs to provide coding rules.

Usage

In the quality profile, activate some rules from the FindBugs, fb-contrib or FindSecBugs rule repositories and run an analysis on your project.

Compiled code

FindBugs requires the compiled classes to run.

Make sure that you compile your source code with debug information on (to get the line numbers in the Java bytecode). Debug is usually on by default unless you're compiling with Ant, in which case, you will need to turn it on explicitly. If the debug information is not available, the issues raised by FindBugs will be displayed at the beginning of the file because the correct line numbers were not available.

Compatibility

Since version 3.0, the plugin embed FindBugs 3.0.0 which supports analysis of Java 8 bytecode but requires Java 1.7 to run (see Compatibility section). Please find below the compatibility matrix of the plugin.

Findbugs Plugin version Embedded Findbugs version Embedded Findsecbugs version Embedded FB-Contrib version Minimal Java version
2.4 2.0.3 N/A 5.2.1 1.6
3.0 3.0.0 N/A 6.0.0 1.7
3.2 3.0.1 1.3.0 6.0.0 1.7
3.3 3.0.1 1.4.2 6.2.3 1.7
3.4 3.0.1 1.4.6 6.6.1 1.8
3.5 3.0.1 1.5.0 6.8.0 1.8

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 93.4%
  • Groovy 6.5%
  • Shell 0.1%