PMD Results

The following document contains the results of PMD 7.7.0.

Violations By Priority

Priority 3

org/apache/maven/resolver/internal/ant/AntRepoSys.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'session'. 887

org/apache/maven/resolver/internal/ant/AntRepositoryListener.java

Rule Violation Line
UnnecessarySemicolon Unnecessary semicolon 97
UnnecessarySemicolon Unnecessary semicolon 105

org/apache/maven/resolver/internal/ant/types/Pom.java

Rule Violation Line
CollapsibleIfStatements This if statement could be combined with its parent 725727

Priority 4

org/apache/maven/resolver/internal/ant/AntModelResolver.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.eclipse.aether.repository': 'RemoteRepository' is already in scope because it is imported in this file 56

org/apache/maven/resolver/internal/ant/AntTransferListener.java

Rule Violation Line
UselessParentheses Useless parentheses. 79

org/apache/maven/resolver/internal/ant/tasks/RefTask.java

Rule Violation Line
UselessParentheses Useless parentheses. 158

org/apache/maven/resolver/internal/ant/tasks/Resolve.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.eclipse.aether.graph': 'DependencyNode' is already in scope because it is imported in this file 318

Files

org/apache/maven/resolver/internal/ant/AntModelResolver.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.eclipse.aether.repository': 'RemoteRepository' is already in scope because it is imported in this file 4 56

org/apache/maven/resolver/internal/ant/AntRepoSys.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'session'. 3 887

org/apache/maven/resolver/internal/ant/AntRepositoryListener.java

Rule Violation Priority Line
UnnecessarySemicolon Unnecessary semicolon 3 97
UnnecessarySemicolon Unnecessary semicolon 3 105

org/apache/maven/resolver/internal/ant/AntTransferListener.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 79

org/apache/maven/resolver/internal/ant/tasks/RefTask.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 158

org/apache/maven/resolver/internal/ant/tasks/Resolve.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.eclipse.aether.graph': 'DependencyNode' is already in scope because it is imported in this file 4 318

org/apache/maven/resolver/internal/ant/types/Pom.java

Rule Violation Priority Line
CollapsibleIfStatements This if statement could be combined with its parent 3 725727