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 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. 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. 391
UselessParentheses Useless parentheses. 475
UselessParentheses Useless parentheses. 524
UselessParentheses Useless parentheses. 543
UselessParentheses Useless parentheses. 706
UselessParentheses Useless parentheses. 746
UselessParentheses Useless parentheses. 746

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

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 391
UselessParentheses Useless parentheses. 4 475
UselessParentheses Useless parentheses. 4 524
UselessParentheses Useless parentheses. 4 543
UselessParentheses Useless parentheses. 4 706
UselessParentheses Useless parentheses. 4 746
UselessParentheses Useless parentheses. 4 746

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