Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Description / Feature

To check code against rules provided by FindBugs.

Sonar FindBugs Plugin





  1. Install the FindBugs plugin through the Update Center (since Sonar 3.5) or download it into the SONAR_HOME/extensions/plugins directory from the Java Ecosystem page
  2. Restart the Sonar server


In the quality profile, activate some rules from FindBugs and run a Sonar 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). It is usually turned on by default (except for compilation with Ant). Otherwise the violations raised by FindBugs will be displayed at the beginning of the file as the line numbers will be missing.

  • No labels