p

pmd

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#, Groovy, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Scala, Objective C, Matlab, Python, Go, Swift and Salesforce.com Apex.
https://pmd.github.io/
BSD-style
PMD
Tom Copeland David Dixon-Peugh Ole-Martin Mork Miguel Griffa Philippe Herlin Jiger Patel Radim Kubacki Tomasz Slota Alan Ezust Nascif Abousalh Neto Allan Caplan Sven Jacob Wouter Zelle Brian Remedios Xavier Le Vourch Ryan Gustafson Johan Nagels Torsten Kleiber Romain Pelisse Andreas Dangel Philip Graf Juan Martín Sotuyo Dodero
Files download
File Operation
pmd-5.5.3.pom download
Apache Maven
<dependency>
  <groupId>net.sourceforge.pmd</groupId>
  <artifactId>pmd</artifactId>
  <version>5.5.3</version>
  <type>pom</type>
</dependency>
Gradle Groovy
implementation 'net.sourceforge.pmd:pmd:5.5.3'
Gradle Kotlin
implementation("net.sourceforge.pmd:pmd:5.5.3")
Scala SBT
libraryDependencies += "net.sourceforge.pmd" % "pmd" % "5.5.3"
Groovy Grape
@Grapes(
  @Grab(group='net.sourceforge.pmd', module='pmd', version='5.5.3')
)
Apache Ivy
<dependency org="net.sourceforge.pmd" name="pmd" rev="5.5.3" />
Leiningen
[net.sourceforge.pmd/pmd "5.5.3"]
Apache Buildr
'net.sourceforge.pmd:pmd:jar:5.5.3'