Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/pmd.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

Description / Feature

To check code against rules provided by This plugin provides coding rules from PMD.

1

PMD Plugin

2.02.1

PMD

4.3

Installation

  1. Install the PMD plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory from the Java Ecosystem page
  2. Restart the Sonar server
4.3

Include Page
Include - Plugin Installation
Include - Plugin Installation

Usage

In the quality profile, activate some rules from PMD and run a Sonar 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.