1. downloads
  2. business software
  3. news
  4. reviews
  5. top apps
Download PMD 6.6.0

PMD 6.6.0

By PMD  (Open Source)
User Rating
Advertisement

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, XML, XSL.

Available Plugins include:

  • Maven PMD.
  • Eclipse.
  • NetBeans.
  • JBuilder.
  • JDeveloper.
  • IntelliJ IDEA.

PMD additionally includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Scala, Objective C, Matlab, Python, Go.

Title: PMD 6.6.0
Filename: pmd-bin-6.6.0.zip
File size: 41.92MB (43,951,430 bytes)
Requirements: Windows (All Versions)
Languages: Multiple languages
License: Open Source
Date added: July 30, 2018
Author: PMD
www.github.com/pmd
MD5 Checksum: 228EAF6AFD58960566D13BB8CE56E544

Java 11 Support.
New Rules:
The new Java rule LocalVariableNamingConventions (java-codestyle) detects local variable names that don’t comply to a given convention. It defaults to standard Java convention of using camelCase, but can be configured. Special cases can be configured for final variables and caught exceptions’ names.
The new Java rule FormalParameterNamingConventions (java-codestyle) detects formal parameter names that don’t comply to a given convention. It defaults to standard Java convention of using camelCase, but can be configured. Special cases can be configured for final parameters and lambda parameters (considering whether they are explicitly typed or not).
Modified Rules:
The Java rules AccessorClassGeneration and AccessorMethodGeneration (both in category java-bestpractices) have been modified to be only valid up until Java 10. Java 11 adds support for JEP 181: Nest-Based Access Control which avoids the generation of accessor classes / methods altogether.
Fixed Issues:
Core -
“Unsupported build listener” in gradle build.
Error in sed expression on line 82 of run.sh while detecting installed version of Java.
Doc -
TOC links don’t work?
Java-codestyle -
CommentDefaultAccessModifier false positive with nested interfaces (regression from 6.4.0).
UnnecessaryFullyQualifiedName false positive for the same name method.
Java-design-
CyclomaticComplexityRule counts ?-operator twice.
NPath complexity false negative due to overflow.
Plsql-
ParseException for CREATE TABLE.
ParseException when parsing VIEW.
ParseException when parsing EXECUTE IMMEDIATE.
UI
XPath autocomplete arrows on first and last items.
API Changes:
The findDescendantsOfType methods in net.sourceforge.pmd.lang.ast.AbstractNode no longer search for exact type matches, but will match subclasses, too. That means, it’s now possible to look for abstract node types such as AbstractJavaTypeNode and not only for it’s concrete subtypes.
External Contributions:
[UI] XPath AutoComplete.
[Doc] Minor typo fix in installation.md.
[Ci] [GSoC] Upload baseline of pmdtester automatically.