PMD Results
The following document contains the results of PMD 5.6.1.
Files
org/apache/maven/artifact/DefaultArtifact.java
Violation |
Line |
Useless parentheses. |
147 |
Useless parentheses. |
147 |
Useless parentheses. |
156 |
Useless parentheses. |
156 |
Useless parentheses. |
375 |
Useless parentheses. |
375 |
Useless parentheses. |
502 |
Useless parentheses. |
502 |
org/apache/maven/artifact/versioning/ComparableVersion.java
Violation |
Line |
Dont create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) |
90 |
Useless parentheses. |
199 |
Useless parentheses. |
266 |
Useless parentheses. |
338 |
Useless parentheses. |
464 |
Useless parentheses. |
508 |
Useless parentheses. |
508 |
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 |
114–117 |
These nested if statements could be combined |
132–135 |
These nested if statements could be combined |
530–533 |
Useless parentheses. |
570 |
Useless parentheses. |
570 |
Useless parentheses. |
573 |
Useless parentheses. |
573 |