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. 174
UselessParentheses Useless parentheses. 174
UselessParentheses Useless parentheses. 181
UselessParentheses Useless parentheses. 181
UselessParentheses Useless parentheses. 335
UselessParentheses Useless parentheses. 335
UselessParentheses Useless parentheses. 426
UselessParentheses Useless parentheses. 426
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. 114
UselessParentheses Useless parentheses. 181
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 174
UselessParentheses Useless parentheses. 4 174
UselessParentheses Useless parentheses. 4 181
UselessParentheses Useless parentheses. 4 181
UselessParentheses Useless parentheses. 4 335
UselessParentheses Useless parentheses. 4 335
UselessParentheses Useless parentheses. 4 426
UselessParentheses Useless parentheses. 4 426

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 114
UselessParentheses Useless parentheses. 4 181

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