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. 138
UselessParentheses Useless parentheses. 138
UselessParentheses Useless parentheses. 224
UselessParentheses Useless parentheses. 224
UselessParentheses Useless parentheses. 410
UselessParentheses Useless parentheses. 430
UselessParentheses Useless parentheses. 506
UselessParentheses Useless parentheses. 567
UselessParentheses Useless parentheses. 590
UselessParentheses Useless parentheses. 795
UselessParentheses Useless parentheses. 840
UselessParentheses Useless parentheses. 840

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

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

Rule Violation Line
UselessParentheses Useless parentheses. 230

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 138
UselessParentheses Useless parentheses. 4 138
UselessParentheses Useless parentheses. 4 224
UselessParentheses Useless parentheses. 4 224
UselessParentheses Useless parentheses. 4 410
UselessParentheses Useless parentheses. 4 430
UselessParentheses Useless parentheses. 4 506
UselessParentheses Useless parentheses. 4 567
UselessParentheses Useless parentheses. 4 590
UselessParentheses Useless parentheses. 4 795
UselessParentheses Useless parentheses. 4 840
UselessParentheses Useless parentheses. 4 840

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
UselessParentheses Useless parentheses. 4 230
CollapsibleIfStatements These nested if statements could be combined 3 559562