Versions Compared

Key

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

Description / Feature

To check code against rules provided by FindBugs.

SonarQube Java Plugin

1.1
1.2

FindBugs

2.0.12.0.1

Usage

In the quality profile, activate some rules from FindBugs and run an analysis on your project.

Note
titleCompiled 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). It is usually turned on by default (except for compilation with Ant). Otherwise the issues raised by FindBugs will be displayed at the beginning of the file as the line numbers will be missing.

Wiki Markup
{iframe:src=http://redirect.sonarsource.com/plugins/findbugs.html|width=700|height=300|frameborder=0}
Documentation has been moved to [http://redirect.sonarsource.com/plugins/findbugs.html].
{iframe}