PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 3
org/apache/maven/artifact/versioning/VersionRange.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 120–122 |
CollapsibleIfStatements | These nested if statements could be combined | 134–137 |
CollapsibleIfStatements | These nested if statements could be combined | 447–449 |
Priority 4
org/apache/maven/artifact/DefaultArtifact.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 160 |
UselessParentheses | Useless parentheses. | 160 |
UselessParentheses | Useless parentheses. | 167 |
UselessParentheses | Useless parentheses. | 167 |
UselessParentheses | Useless parentheses. | 342 |
UselessParentheses | Useless parentheses. | 342 |
UselessParentheses | Useless parentheses. | 433 |
UselessParentheses | Useless parentheses. | 433 |
org/apache/maven/artifact/versioning/ComparableVersion.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 125 |
UselessParentheses | Useless parentheses. | 125 |
UselessParentheses | Useless parentheses. | 197 |
UselessParentheses | Useless parentheses. | 197 |
UselessParentheses | Useless parentheses. | 356 |
UselessParentheses | Useless parentheses. | 375 |
UselessParentheses | Useless parentheses. | 437 |
UselessParentheses | Useless parentheses. | 486 |
UselessParentheses | Useless parentheses. | 505 |
UselessParentheses | Useless parentheses. | 668 |
UselessParentheses | Useless parentheses. | 707 |
UselessParentheses | Useless parentheses. | 707 |
org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 119 |
UselessParentheses | Useless parentheses. | 173 |
org/apache/maven/artifact/versioning/Restriction.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 68 |
UselessParentheses | Useless parentheses. | 78 |
org/apache/maven/artifact/versioning/VersionRange.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 197 |
Files
org/apache/maven/artifact/DefaultArtifact.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 160 |
UselessParentheses | Useless parentheses. | 4 | 160 |
UselessParentheses | Useless parentheses. | 4 | 167 |
UselessParentheses | Useless parentheses. | 4 | 167 |
UselessParentheses | Useless parentheses. | 4 | 342 |
UselessParentheses | Useless parentheses. | 4 | 342 |
UselessParentheses | Useless parentheses. | 4 | 433 |
UselessParentheses | Useless parentheses. | 4 | 433 |
org/apache/maven/artifact/versioning/ComparableVersion.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 125 |
UselessParentheses | Useless parentheses. | 4 | 125 |
UselessParentheses | Useless parentheses. | 4 | 197 |
UselessParentheses | Useless parentheses. | 4 | 197 |
UselessParentheses | Useless parentheses. | 4 | 356 |
UselessParentheses | Useless parentheses. | 4 | 375 |
UselessParentheses | Useless parentheses. | 4 | 437 |
UselessParentheses | Useless parentheses. | 4 | 486 |
UselessParentheses | Useless parentheses. | 4 | 505 |
UselessParentheses | Useless parentheses. | 4 | 668 |
UselessParentheses | Useless parentheses. | 4 | 707 |
UselessParentheses | Useless parentheses. | 4 | 707 |
org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 119 |
UselessParentheses | Useless parentheses. | 4 | 173 |
org/apache/maven/artifact/versioning/Restriction.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 68 |
UselessParentheses | Useless parentheses. | 4 | 78 |
org/apache/maven/artifact/versioning/VersionRange.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | These nested if statements could be combined | 3 | 120–122 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 134–137 |
UselessParentheses | Useless parentheses. | 4 | 197 |
CollapsibleIfStatements | These nested if statements could be combined | 3 | 447–449 |