Edit me

The following pages and posts are tagged with

TitleTypeExcerpt
How to add a new CPD language Page How to add a new CPD language
Adding PMD support for a new language Page How to add a new language to PMD.
Adding support for metrics to a language Page PMD's Java module has an extensive framework for the calculation of metrics, which allows rule developers to implement and use new code metrics very simply. ...
Index of Apex code metrics Page Index of the code metrics available out of the box to Apex rule developers.
Defining rule properties Page Learn how to define your own properties both for Java and XPath rules.
How PMD Works Page Processing overview of the different steps taken by PMD.
Index of Java code metrics Page Index of the code metrics available out of the box to Java rule developers.
PMD Making Rulesets Page Making Custom Rulesets for PMD
Using and defining code metrics for custom rules Page Since version 6.0.0, PMD is enhanced with the ability to compute code metrics on Java and Apex source (the so-called Metrics Framework). This framework provi...
PMD Rule Guidelines Page Rule Guidelines
Testing your rules Page Learn how to use PMD's simple test framework for unit testing rules.
Using rule properties Page Properties are a way to parameterise the behaviour of PMD rules and your own directly from the ruleset XML, which greatly improves their reusability. This pa...
PMD Writing a Custom Rule Page Writing a Custom Rule for PMD
Writing XPath Rules Page Writing XPath rules for PMD