An extensible cross-language static code analyzer.
Clone or download
Latest commit 3113e4a Sep 14, 2018
Permalink
Failed to load latest commit information.
.github Update issue template May 24, 2018
.mvn/wrapper Upgrade maven to 3.5.4 Jun 23, 2018
.travis Fix release scripts Sep 2, 2018
docs Merge branch 'pr-1339' Sep 14, 2018
pmd-apex-jorje [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-apex [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-core Merge branch 'pr-1322' Sep 11, 2018
pmd-cpp [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-cs [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-dist [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-doc [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-fortran [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-go [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-groovy [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-java Merge branch 'pr-1322' Sep 11, 2018
pmd-java8 [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-javascript Merge branch 'pr-1322' Sep 11, 2018
pmd-jsp [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-matlab [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-objectivec [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-perl [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-php [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-plsql [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-python [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-ruby [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-scala [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-swift [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-test [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-ui [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-visualforce [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-vm [maven-release-plugin] prepare for next development iteration Sep 2, 2018
pmd-xml Merge branch 'pr-1322' Sep 11, 2018
.gitattributes Add maven wrapper, use maven 3.5.0 May 5, 2017
.gitignore Cache bundles on travis, use bundle exec Aug 17, 2018
.travis.yml Fix release scripts Sep 2, 2018
BUILDING.md [doc] Minimum java version for building is now java10, mention JAVAFX… Aug 15, 2018
CONTRIBUTING.md Fix link and grammar Mar 22, 2018
Dangerfile Update release notes, refs #1339 Sep 14, 2018
Gemfile improve danger message Sep 12, 2018
LICENSE Update changelog for scala pull request; update license infos Jan 18, 2015
NOTICE Update changelog for scala pull request; update license infos Jan 18, 2015
README.md Inline gitter badge Jan 13, 2018
do-release.sh Fix release scripts Sep 2, 2018
mvnw Update maven wrapper to 3.5.2 Nov 4, 2017
mvnw.cmd Update maven wrapper to 3.5.2 Nov 4, 2017
pom.xml [maven-release-plugin] prepare for next development iteration Sep 2, 2018

README.md

PMD

Join the chat at https://gitter.im/pmd/pmd Build Status Maven Central Coverage Status

About

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 and Visualforce, PLSQL, Apache Velocity, XML, XSL.

Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, Groovy, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Scala, Objective C, Salesforce.com Apex, Perl, Swift, Matlab, Python.

Source and Documentation

Our latest source of PMD can be found on GitHub. Fork us!

News and Website

More information can be found on our Website and on SourceForge.