PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports Salesforce.com Apex, Java, JavaScript, XML, XSL.
Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, PHP, Ruby, Fortran, JavaScript, Matlab, Swift.
You can fork us on https://github.com/pmd
License
BSD LicenseFollow PMD
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
-
Used only CPD for my C++ projects. It is good, fast and useful, only its UI is a little sloppy.
-
Especially fine alternative to paid tools. Mostly usable for Java-like languages, but the CPD feature is ready for C++ too.
-
Very, very useful
-
Nice work!
-
Great stuff.