codeclimate-pmd
is a Code Climate engine that wraps the PMD static analysis tool. You can run it on your command line using the Code Climate CLI, or on our hosted analysis platform.
codeclimate engines:enable pmd
. This command both installs the engine and enables it in your .codeclimate.yml
file.codeclimate analyze
..codeclimate.yml
and add a config
entry pointing to your ruleset.xml
file:
engines:
pmd:
enabled: true
config: ruleset.xml
For help with PMD, check out their documentation.
If you're running into a Code Climate issue, first check out our PMD engine docs and look over this project's GitHub Issues, as your question may have already been covered. If not, go ahead and open a support ticket with us.