PMD freeware


Version: 6.24.0 | Size: 62.40 MB | Filename:
Top Freeware Home  |  Development  |  Other  |  PMD

PMD (Programming Mistake Detector) is an open source static source code analyzer that reports on issues found within application code. PMD includes built-in rule sets and supports the ability to write custom rules. PMD does not report compilation errors, as it only can process well-formed source files. Issues reported by PMD are rather inefficient code, or bad programming habits, which can reduce the performance and maintainability of the program if they accumulate.

Using PMD we can detect the common possible flaws:

  1. Naming Conventions
  2. Unused variables, parameters
  3. High Cyclomatic Complexity
  4. DML Operations within loop
  5. SOQL In Loops
  6. Test Class without Asserts
  7. Sharing Violations

What do you think about PMD?

Your Name:
Register Now
Summarize review in one sentence:
What do you think about PMD?
Your rating:
Our Awards
Top Freeware 4 stars award Top Freeware clean check
Users´ rating

User Rating: 3.6 (38 votes)

Open Source

File size:
62.40 MB

Last update:

Windows XP, Windows Vista, Windows Vista x64, Windows 7, Windows 7 x64, Windows 8, Windows 8 x64, Windows 10, Windows 10 x64

Last version:
Last versions of PMD
Version Change log
PMD 6.24.0 Mar 13, 2020 New and noteworthy:
CPD now supports XML as well:
Thanks to Fernando Cosso CPD can now find duplicates in XML files as well.
This is useful to find duplicated sections in XML files.
Updated PMD Designer:
This PMD release ships a new version of the pmd-designer.
For the changes, see PMD Designer Changelog.
New Rules:
The new Java Rule LiteralsFirstInComparisons (java-bestpractices) find String literals, that are used in comparisons and are not positioned first. Using the String literal as the receiver of e.g. equals helps to avoid NullPointerExceptions.
This rule is replacing the two old rules PositionLiteralsFirstInComparisons and PositionLiteralsFirstInCaseInsensitiveComparisons and extends the check for the methods compareTo, compareToIgnoreCase and contentEquals in addition to equals and equalsIgnoreCase.
Note: This rule also replaces the two mentioned rules in Java's quickstart ruleset.
Deprecated Rules:
The two Java rules PositionLiteralsFirstInComparisons and PositionLiteralsFirs
PMD 6.23.0 Mar 13, 2020 New and noteworthy:
Updated PMD Designer:
This PMD release ships a new version of the pmd-designer. For the changes, see PMD Designer Changelog.
Java Metrics
The new metric “Class Fan Out Complexity” has been added. See Java Metrics Documentation for details.
Modified Rules:
The Java rules InvalidLogMessageFormat and MoreThanOneLogger (java-errorprone) now both support Log4j2. Note that the rule “InvalidSlf4jMessageFormat” has been renamed to “InvalidLogMessageFormat” to reflect the fact, that it now supports more than slf4j.
The Java rule LawOfDemeter (java-design) ignores now also Builders, that are not assigned to a local variable, but just directly used within a method call chain. The method, that creates the builder needs to end with “Builder”, e.g. newBuilder() or initBuilder() works. This change fixes a couple of false positives.
The Java rule DataflowAnomalyAnalysis (java-errorprone) doesn’t check for UR anomalies (undefined and then referenced) anymore. These checks were all f
PMD 6.22.0 Mar 13, 2020 New and noteworthy:
Java 14 Support:
This release of PMD brings support for Java 14. PMD can parse Switch Expressions, which have been promoted to be a standard language feature of Java.
View history


Downloads of PMD freeware

Total downloads

Last month's downloads

Last week's downloads


© 2020 TopFreeware  |  All rights reserved.
created by FAUST