PMD
6.8#2 in lintersFree planFree planLinuxmacOSSelf-hostedWindows
Visit| Fact | PMD | yamllint |
|---|---|---|
| License | The project identifies its license as BSD-style. | The GitHub repository identifies the project license as GPL-3.0. |
| Purpose | PMD is an extensible cross-language static code analyzer that finds common programming flaws. | yamllint checks YAML syntax and issues such as duplicate keys, line length, trailing spaces, and indentation. |
| Rules | PMD includes 400+ built-in rules and supports custom rules written in Java or XPath. | Its rules can be enabled, disabled, or adjusted, including whether a finding is an error or warning. |
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.