????? - 6.4.0-SNAPSHOT
The PMD team is pleased to announce PMD 6.4.0.
This is a bug fixing release.
Table Of Contents
New and noteworthy
Modified Rules
- The Java rule JUnit4TestShouldUseTestAnnotation (
java-bestpractices
) has a new parameter “testClassPattern”. It is used to distinguish test classes from other classes and avoid false positives. By default, any class, that has “Test” in its name, is considered a test class.
Fixed Issues
- all
- #1018: [java] Performance degradation of 250% between 6.1.0 and 6.2.0
- java
- #1077: [java] Analyzing enum with lambda passed in constructor fails with “The enclosing scope must exist.”
- java-bestpractices
- java-codestyle
- java-design
- java-performance
- doc
- vf-security
- #1100: [vf] URLENCODE is ignored as valid escape method
API Changes
- The following classes in package
net.sourceforge.pmd.benchmark
have been deprecated:Benchmark
,Benchmarker
,BenchmarkReport
,BenchmarkResult
,RuleDuration
,StringBuilderCR
andTextReport
. Their API is not supported anymore and is disconnected from the internals of PMD. Use the newer API based aroundTimeTracker
instead, which can be found in the same package.
External Contributions
- #1101: [java] Fixes false positive for
DoNotExtendJavaLangError
- Akshat Bahety - #1106: [vf] URLENCODE is ignored as valid escape method - Robert Sösemann