PMD Results

The following document contains the results of PMD 6.38.0.

Violations By Priority

Priority 3

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

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 135138
CollapsibleIfStatements These nested if statements could be combined 153156
CollapsibleIfStatements These nested if statements could be combined 559562

Priority 4

org/apache/maven/artifact/DefaultArtifact.java

Rule Violation Line
UselessParentheses Useless parentheses. 146
UselessParentheses Useless parentheses. 146
UselessParentheses Useless parentheses. 155
UselessParentheses Useless parentheses. 155
UselessParentheses Useless parentheses. 374
UselessParentheses Useless parentheses. 374
UselessParentheses Useless parentheses. 492
UselessParentheses Useless parentheses. 492

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

Rule Violation Line
UselessParentheses Useless parentheses. 135
UselessParentheses Useless parentheses. 135
UselessParentheses Useless parentheses. 221
UselessParentheses Useless parentheses. 221
UselessParentheses Useless parentheses. 407
UselessParentheses Useless parentheses. 427
UselessParentheses Useless parentheses. 503
UselessParentheses Useless parentheses. 564
UselessParentheses Useless parentheses. 587
UselessParentheses Useless parentheses. 776
UselessParentheses Useless parentheses. 821
UselessParentheses Useless parentheses. 821

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

Rule Violation Line
UselessParentheses Useless parentheses. 145
UselessParentheses Useless parentheses. 215

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

Rule Violation Line
UselessParentheses Useless parentheses. 74
UselessParentheses Useless parentheses. 87

Files

org/apache/maven/artifact/DefaultArtifact.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 146
UselessParentheses Useless parentheses. 4 146
UselessParentheses Useless parentheses. 4 155
UselessParentheses Useless parentheses. 4 155
UselessParentheses Useless parentheses. 4 374
UselessParentheses Useless parentheses. 4 374
UselessParentheses Useless parentheses. 4 492
UselessParentheses Useless parentheses. 4 492

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 135
UselessParentheses Useless parentheses. 4 135
UselessParentheses Useless parentheses. 4 221
UselessParentheses Useless parentheses. 4 221
UselessParentheses Useless parentheses. 4 407
UselessParentheses Useless parentheses. 4 427
UselessParentheses Useless parentheses. 4 503
UselessParentheses Useless parentheses. 4 564
UselessParentheses Useless parentheses. 4 587
UselessParentheses Useless parentheses. 4 776
UselessParentheses Useless parentheses. 4 821
UselessParentheses Useless parentheses. 4 821

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 145
UselessParentheses Useless parentheses. 4 215

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

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 74
UselessParentheses Useless parentheses. 4 87

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

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 135138
CollapsibleIfStatements These nested if statements could be combined 3 153156
CollapsibleIfStatements These nested if statements could be combined 3 559562