PMD Results

The following document contains the results of PMD 6.49.0.

Violations By Priority

Priority 3

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

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 117119
CollapsibleIfStatements These nested if statements could be combined 131134
CollapsibleIfStatements These nested if statements could be combined 444446

Priority 4

org/apache/maven/artifact/DefaultArtifact.java

Rule Violation Line
UselessParentheses Useless parentheses. 159
UselessParentheses Useless parentheses. 159
UselessParentheses Useless parentheses. 166
UselessParentheses Useless parentheses. 166
UselessParentheses Useless parentheses. 339
UselessParentheses Useless parentheses. 339
UselessParentheses Useless parentheses. 430
UselessParentheses Useless parentheses. 430

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

Rule Violation Line
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. 708
UselessParentheses Useless parentheses. 708

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. 194

Files

org/apache/maven/artifact/DefaultArtifact.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 159
UselessParentheses Useless parentheses. 4 159
UselessParentheses Useless parentheses. 4 166
UselessParentheses Useless parentheses. 4 166
UselessParentheses Useless parentheses. 4 339
UselessParentheses Useless parentheses. 4 339
UselessParentheses Useless parentheses. 4 430
UselessParentheses Useless parentheses. 4 430

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

Rule Violation Priority Line
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 708
UselessParentheses Useless parentheses. 4 708

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 117119
CollapsibleIfStatements These nested if statements could be combined 3 131134
UselessParentheses Useless parentheses. 4 194
CollapsibleIfStatements These nested if statements could be combined 3 444446