Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description / Feature

This plugin is included in the Java Ecosystem.

It provides FindBugs rules.

SonarQube Java Plugin

1.1
1.21.31.4

FindBugs

2.0.12.0.12.0.12.0.1
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/findbugs-confluence.html|width=700|height=300|frameborder=0}
Your browser does not support iframes.
{iframe}

 

Description / Feature

It requires the Java Plugin, and uses FindBugs and fb-contrib to provide coding rules.

Usage

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

Note
titleCompiled code

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