EVERYTHING XIAOMI
Get listed
Side by side

cpplint vs PMD

cpplint

6.0#19 in lintersFree plan
Free planLinuxmacOSWindows
Visit

PMD

6.8#2 in code clone detection toolsFree plan
Free planLinuxmacOSSelf-hostedWindows
Visit

What both publish

FactcpplintPMD
InstallationThe project recommends installing the cpplint package from PyPI and documents installation as a uv tool.PMD requires Java 8 or above and is distributed as a ZIP archive containing PMD and CPD.
LicenseThe package is distributed under the BSD-3-Clause license.The project identifies its license as BSD-style.
PurposeCpplint is a command-line tool that checks C/C++ files for style issues according to Google’s C++ style guide.PMD is an extensible cross-language static code analyzer that finds common programming flaws.
SupportThe repository identifies maintainers and provides GitHub issues, pull requests, discussions, and contribution guidance.The project directs users to Stack Overflow for questions, GitHub issues for suspected bugs or requests, and Gitter for quick questions.

cpplint plans

  • cpplintFree

PMD plans

  • PMDFree

Pick cpplint if…

cpplint is for developers who want to check C and C++ files for style issues. It can also suit projects that run checks through pre-commit or CI workflows.

Pick PMD if…

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.

Charts they share