PMD Results
The following document contains the results of PMD 7.7.0.
Violations By Priority
Priority 3
org/eclipse/aether/util/graph/transformer/ClassicConflictResolver.java
Rule | Violation | Line |
---|---|---|
SimplifiedTernary | This conditional expression can be simplified with || or && | 710 |
org/eclipse/aether/util/graph/transformer/ConfigurableVersionSelector.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 152–158 |
CollapsibleIfStatements | This if statement could be combined with its parent | 153–157 |
org/eclipse/aether/util/graph/transformer/NearestVersionSelector.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 65–71 |
CollapsibleIfStatements | This if statement could be combined with its parent | 66–70 |
org/eclipse/aether/util/graph/transformer/PathConflictResolver.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 432–434 |
UnusedPrivateMethod | Avoid unused private methods such as 'dump(String)'. | 632 |
org/eclipse/aether/util/graph/visitor/DependencyGraphDumper.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 61–67 |
org/eclipse/aether/util/repository/DefaultMirrorSelector.java
Rule | Violation | Line |
---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address ${variableName} | 190 |
org/eclipse/aether/util/version/GenericVersionRange.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 106–110 |
Priority 4
org/eclipse/aether/util/FileUtils.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'FileUtils': 'ATOMIC_MOVE' is already in scope because it is declared in an enclosing type | 129 |
org/eclipse/aether/util/filter/AbstractPatternDependencyFilter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 116 |
UselessParentheses | Useless parentheses. | 136 |
org/eclipse/aether/util/filter/ExclusionsDependencyFilter.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 68 |
org/eclipse/aether/util/graph/manager/MMap.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MMap': 'EMPTY_MAP' is already in scope because it is declared in an enclosing type | 48 |
org/eclipse/aether/util/graph/transformer/ClassicConflictResolver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 172 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 177 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 185 |
UselessParentheses | Useless parentheses. | 198 |
UselessParentheses | Useless parentheses. | 237 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 282 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 284 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 287 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'getVerbosity' is already in scope | 521 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 582 |
org/eclipse/aether/util/graph/transformer/PathConflictResolver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'PATH_CONFLICT_RESOLVER' is already in scope because it is inherited by an enclosing type | 108 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'getVerbosity' is already in scope | 168 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 471 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 474 |
UselessParentheses | Useless parentheses. | 497–498 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 543 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 545 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 548 |
org/eclipse/aether/util/version/GenericVersionScheme.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 174 |
Files
org/eclipse/aether/util/FileUtils.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'FileUtils': 'ATOMIC_MOVE' is already in scope because it is declared in an enclosing type | 4 | 129 |
org/eclipse/aether/util/filter/AbstractPatternDependencyFilter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 116 |
UselessParentheses | Useless parentheses. | 4 | 136 |
org/eclipse/aether/util/filter/ExclusionsDependencyFilter.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 68 |
org/eclipse/aether/util/graph/manager/MMap.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'MMap': 'EMPTY_MAP' is already in scope because it is declared in an enclosing type | 4 | 48 |
org/eclipse/aether/util/graph/transformer/ClassicConflictResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 172 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 4 | 177 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 4 | 185 |
UselessParentheses | Useless parentheses. | 4 | 198 |
UselessParentheses | Useless parentheses. | 4 | 237 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 4 | 282 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 4 | 284 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 4 | 287 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'getVerbosity' is already in scope | 4 | 521 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 4 | 582 |
SimplifiedTernary | This conditional expression can be simplified with || or && | 3 | 710 |
org/eclipse/aether/util/graph/transformer/ConfigurableVersionSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 152–158 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 153–157 |
org/eclipse/aether/util/graph/transformer/NearestVersionSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 65–71 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 66–70 |
org/eclipse/aether/util/graph/transformer/PathConflictResolver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'PATH_CONFLICT_RESOLVER' is already in scope because it is inherited by an enclosing type | 4 | 108 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'getVerbosity' is already in scope | 4 | 168 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 432–434 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 4 | 471 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 4 | 474 |
UselessParentheses | Useless parentheses. | 4 | 497–498 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_WINNER' is already in scope because it is inherited by an enclosing type | 4 | 543 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_SCOPE' is already in scope because it is inherited by an enclosing type | 4 | 545 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ConflictResolver': 'NODE_DATA_ORIGINAL_OPTIONALITY' is already in scope because it is inherited by an enclosing type | 4 | 548 |
UnusedPrivateMethod | Avoid unused private methods such as 'dump(String)'. | 3 | 632 |
org/eclipse/aether/util/graph/visitor/DependencyGraphDumper.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 61–67 |
org/eclipse/aether/util/repository/DefaultMirrorSelector.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingHardCodedIP | Do not hard code the IP address ${variableName} | 3 | 190 |
org/eclipse/aether/util/version/GenericVersionRange.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 106–110 |
org/eclipse/aether/util/version/GenericVersionScheme.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 174 |