Added by Simon Brandhof, last edited by Olivier Gaudin on Apr 19, 2009  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Coding rules plugins

Sonar embeds 3 coding rules engines by default.

Checkstyle

The sonar-plugin-checkstyle runs the maven-checkstyle-plugin 2.2 that integrates coding rules from Checkstyle 4.4

There is no possible configuration of this plugin.

PMD

The sonar-plugin-pmd runs the maven-pmd-plugin 2.4 that integrates coding rules from PMD 4.2.2

There is no possible configuration of this plugin.

Findbugs

The sonar-plugin-findbugs runs the findbugs-maven-plugin 1.2 that integrates coding rules from Findbugs 1.2.1

In case the findbugs-maven-plugin is defined in the pom.xml of your project, Sonar will use the version defined in the pom and can potentially not function properly

It is possible to configure the effort of the bug finders from settings page.

Warning : Findbugs analyzes compiled code and not java sources. See Sonar light mode description to know how to use Findbugs with this Sonar light mode.