PMD Results

The following document contains the results of PMD 5.3.2.

Files

org/apache/maven/artifact/DefaultArtifact.java

Violation Line
Useless parentheses. 146
Useless parentheses. 146
Useless parentheses. 155
Useless parentheses. 155
Useless parentheses. 374
Useless parentheses. 374
Useless parentheses. 501
Useless parentheses. 501

org/apache/maven/artifact/versioning/ComparableVersion.java

Violation Line
Dont create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 88
Useless parentheses. 199
Useless parentheses. 266
Useless parentheses. 338
Useless parentheses. 463
Useless parentheses. 494
Useless parentheses. 494

org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

Violation Line
Useless parentheses. 133
Useless parentheses. 148
Useless parentheses. 211

org/apache/maven/artifact/versioning/Restriction.java

Violation Line
Useless parentheses. 74
Useless parentheses. 87

org/apache/maven/artifact/versioning/VersionRange.java

Violation Line
These nested if statements could be combined 113116
These nested if statements could be combined 131134
These nested if statements could be combined 529532
Useless parentheses. 569
Useless parentheses. 569
Useless parentheses. 572
Useless parentheses. 572