PMD (software) - Rulesets

Rulesets

PMD includes a set of built-in rules and supports the ability to write custom rules. The custom rules can be written in two ways:

  1. Using XPath
  2. Using Java classes

Read more about this topic:  PMD (software)