Versions Compared

Key

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

Description / Feature

To check code against rules provided by FindBugsThis plugin is included in the Java Ecosystem.

It uses FindBugs to provide coding rules.

SonarQube TM Java Plugin

1.1
1.21.31.41.52.0

FindBugs

2.0.12.0.12.0.12.0.12.0.22.0.3

Usage

In the quality profile, activate some rules from FindBugs 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). It Debug is usually turned on by default (except for compilation with Ant). Otherwise the 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 as because the correct line numbers will be missingwere not available.