# 3rd party rulesets

Lists rulesets and rules from the community

## For Java

- jPinpoint rules: PMD rule set for performance aware Java and Kotlin coding.
  - https://github.com/jborgers/PMD-jPinpoint-rules
- arch4u-pmd is a library with pmd rules that bring new regulations related to known problems in REST API, logging, monitoring, etc., including reconfigured default pmd rules to decrease false-positive violations during usage of well-known frameworks like Spring, Quarkus, etc.
  - https://github.com/dgroup/arch4u-pmd
- Sample ruleset from maxdocs, a multi markup wiki engine.
  - https://github.com/bohni/maxdocs/blob/master/src/main/config/pmd/pmd-ruleset.xml
- Sample ruleset from geotools, an open source Java library that provides tools for geospatial data.
  - https://github.com/geotools/geotools/blob/main/build/qa/pmd-ruleset.xml
  - https://github.com/geotools/geotools/blob/main/build/qa/pmd-junit-ruleset.xml

## For Apex

- unhappy-soup, a repository with problematic Salesforce code to showcase PMD, the SFDX Scanner CLI
  - https://github.com/rsoesemann/unhappy-soup/blob/master/ruleset.xml

Tags: rule_references userdocs