Version | Change log |
PMD 7.14.0 Jun 18, 2025 |
New and noteworthy: PMD CLI now uses threaded execution by default: In the PMD CLI, the --threads (-t) option can now accept a thread count given relative to the number of cores of the machine. For instance, it is now possible to write -t 1C to spawn one thread per core, or -t 0.5C to spawn one thread for every other core. The thread count option now defaults to 1C, meaning parallel execution is used by default. You can disable this by using -t 1. New Rule UnnecessaryWarningSuppression (experimental) ??? This new Java rule UnnecessaryWarningSuppression reports unused suppression annotations and comments. Violations of this rule cannot be suppressed. How to use it? Just include it in your ruleset: <rule ref="category/java/bestpractices.xml/UnnecessaryWarningSuppression" /> Note: This rule is currently experimental. It is available for now only for Java. The rule for now only reports annotations specific to PMD, like @SuppressWarnings("PMD"). In the future we might be able to check for other common ones like @SuppressWarnings("unchecked") or "fallthrough". Since violations of this rule cannot be suppressed, we opted here on the side of false-negatives and don’t report every unused case yet. However, suppressing specific PMD rules is working as expected. Migrating to Central Publisher Portal: We’ve now migrated to Central Publisher Portal. Snapshots of PMD are still available, however the repository URL changed. To consume these with maven, you can use the following snippet: <repositories> <repository> <name>Central Portal Snapshots</name> <id>central-portal-snapshots</id> <url>https://central.sonatype.com/repository/maven-snapshots/</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> Releases of PMD are available on Maven Central as |
PMD 7.2.0 Jun 5, 2024 | |
PMD 7.1.0 Apr 26, 2024 |
Total downloads
48
Last month's downloads
4
Last week's downloads
0
Top Download Club is proud to introduce "Freud" - the ultimate software tool for analyzing and understanding complex code structures. Developed by the reputable team at langera, Freud offers programmers invaluable insights into code behavior, allowing for swift and efficient troubleshooting. This ...