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 Java, JavaScript, Salesforce.com Apex, PLSQL, Apache Velocity, XML, XSL. Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Ruby, Scala, Objective C, Matlab, Python, Go, Swift and Salesforce.com Apex. Latest version(s) Latest version(s) 5.5.1 (27th July 2016) Release Notes Download (Sourcecode, Documentation) Online Documentation Requires at least java 7, Salesforce.com Apex requires at least java 8 5.4.2 (29th May 2016) Release Notes Download (Sourcecode, Documentation) Online Documentation Requires at least java 7 5.3.7 (30th April 2016) Release Notes Download (Sourcecode, Documentation) Online Documentation Requires at least java 6 Get Involved Plugins Recent Announcements Next development version Previous versions Copyright © PMD. All Rights Reserved.