PMD Results

The following document contains the results of PMD 7.7.0.

Violations By Priority

Priority 3

org/apache/maven/plugins/dependency/analyze/AnalyzeDepMgt.java

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

org/apache/maven/plugins/dependency/analyze/AnalyzeReportRenderer.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'sink'. 106

org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java

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

org/apache/maven/plugins/dependency/utils/markers/SourcesFileMarkerHandler.java

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

Priority 4

org/apache/maven/plugins/dependency/utils/ResolverUtil.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.eclipse.aether.artifact': 'Artifact' is already in scope because it is imported in this file 207

org/apache/maven/plugins/dependency/utils/filters/ResolveFileFilter.java

Rule Violation Line
UselessParentheses Useless parentheses. 42

Files

org/apache/maven/plugins/dependency/analyze/AnalyzeDepMgt.java

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

org/apache/maven/plugins/dependency/analyze/AnalyzeReportRenderer.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'sink'. 3 106

org/apache/maven/plugins/dependency/resolvers/ResolveDependenciesMojo.java

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

org/apache/maven/plugins/dependency/utils/ResolverUtil.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.eclipse.aether.artifact': 'Artifact' is already in scope because it is imported in this file 4 207

org/apache/maven/plugins/dependency/utils/filters/ResolveFileFilter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 42

org/apache/maven/plugins/dependency/utils/markers/SourcesFileMarkerHandler.java

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