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 116118
CollapsibleIfStatements These nested if statements could be combined 130133
CollapsibleIfStatements These nested if statements could be combined 443445

Priority 4

org/apache/maven/artifact/DefaultArtifact.java
Rule Violation Line
UselessParentheses Useless parentheses. 154
UselessParentheses Useless parentheses. 154
UselessParentheses Useless parentheses. 161
UselessParentheses Useless parentheses. 161
UselessParentheses Useless parentheses. 315
UselessParentheses Useless parentheses. 315
UselessParentheses Useless parentheses. 406
UselessParentheses Useless parentheses. 406
org/apache/maven/artifact/versioning/ComparableVersion.java
Rule Violation Line
UselessParentheses Useless parentheses. 385
UselessParentheses Useless parentheses. 554
UselessParentheses Useless parentheses. 609
UselessParentheses Useless parentheses. 628
UselessParentheses Useless parentheses. 807
UselessParentheses Useless parentheses. 848
UselessParentheses Useless parentheses. 848
org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
Rule Violation Line
UselessParentheses Useless parentheses. 116
UselessParentheses Useless parentheses. 183
org/apache/maven/artifact/versioning/Restriction.java
Rule Violation Line
UselessParentheses Useless parentheses. 67
UselessParentheses Useless parentheses. 77
org/apache/maven/artifact/versioning/VersionRange.java
Rule Violation Line
UselessParentheses Useless parentheses. 193

Files

org/apache/maven/artifact/DefaultArtifact.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 154
UselessParentheses Useless parentheses. 4 154
UselessParentheses Useless parentheses. 4 161
UselessParentheses Useless parentheses. 4 161
UselessParentheses Useless parentheses. 4 315
UselessParentheses Useless parentheses. 4 315
UselessParentheses Useless parentheses. 4 406
UselessParentheses Useless parentheses. 4 406

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 385
UselessParentheses Useless parentheses. 4 554
UselessParentheses Useless parentheses. 4 609
UselessParentheses Useless parentheses. 4 628
UselessParentheses Useless parentheses. 4 807
UselessParentheses Useless parentheses. 4 848
UselessParentheses Useless parentheses. 4 848

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 116
UselessParentheses Useless parentheses. 4 183

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 67
UselessParentheses Useless parentheses. 4 77

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 116118
CollapsibleIfStatements These nested if statements could be combined 3 130133
UselessParentheses Useless parentheses. 4 193
CollapsibleIfStatements These nested if statements could be combined 3 443445