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
Auth for GenAI | Auth0
Easily implement secure login experiences for AI Agents - from interactive chatbots to background workers with Auth0. Auth for GenAI is now available in Developer Preview
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.