PMD
6.8#2 in lintersFree planFree planLinuxmacOSSelf-hostedWindows
Visit
| Fact | PMD | RuboCop |
|---|---|---|
| Installation | PMD requires Java 8 or above and is distributed as a ZIP archive containing PMD and CPD. | RuboCop can be installed with gem install rubocop or added to a Bundler Gemfile as a standalone tool. |
| Purpose | PMD is an extensible cross-language static code analyzer that finds common programming flaws. | RuboCop is a Ruby static code analyzer and formatter based on the community Ruby Style Guide. |
PMD suits developers and teams who want static checks across supported languages, custom rules, and duplicate-code detection. It can fit command-line, build-tool, and CI workflows, provided the required Java version is available.
You want what its maker publishes above — check its page for the details.