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) 90
Useless parentheses. 201
Useless parentheses. 268
Useless parentheses. 340
Useless parentheses. 465
Useless parentheses. 509
Useless parentheses. 509

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 114117
These nested if statements could be combined 132135
These nested if statements could be combined 530533
Useless parentheses. 570
Useless parentheses. 570
Useless parentheses. 573
Useless parentheses. 573