PMD
6.8#2 in lintersFree planFree planLinuxmacOSSelf-hostedWindows
Visit| Fact | PMD | Reek |
|---|---|---|
| Installation | PMD requires Java 8 or above and is distributed as a ZIP archive containing PMD and CPD. | The README says to install Reek with RubyGems using `gem install reek`. |
| License | The project identifies its license as BSD-style. | GitHub identifies the repository license as MIT. |
| Other integrations | The project lists integrations including Codacy, Codiga, Tencent Cloud Code Analysis, MegaLinter and a SonarQube PMD plugin. | The README lists support projects including overcommit, ruby-critic, pronto-reek, and action-reek. |
| Purpose | PMD is an extensible cross-language static code analyzer that finds common programming flaws. | Reek examines Ruby classes, modules, and methods and reports code smells. |
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.
It suits Ruby developers and teams that want configurable code-smell reports in editors, Rails projects, or CI workflows. Its formats and integrations support varied development setups.