Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{iframe:src=http://updateredirect.sonarsource.orgcom/plugins/pmd.html|width=700|height=250300|frameborder=0}
YourDocumentation browserhas doesbeen notmoved support iframes.to [http://redirect.sonarsource.com/plugins/pmd.html].
{iframe}

Description / Feature

This plugin provides coding rules from PMD.

PMD Plugin

2.02.12.2

PMD

4.34.35.1.1

...

Usage

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

Set the sonar.java.source property to tell PMD which version of Java your source code complies to. The default value is 1.5. Possible values: 1.4, 1.5 or 5, 1.6 or 6, 1.7 or 7. Since version 2.2 of the plugin, this property can also be set to 1.8 or 8.