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
Auth0 for AI Agents now in GA
Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
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.