PMD Results

The following document contains the results of PMD 7.0.0.

Violations By Priority

Priority 3

org/apache/maven/plugins/dependency/ListRepositoriesMojo.java
Rule Violation Line
UnusedPrivateMethod Avoid unused private methods such as 'getMirroredRepo(Set<RemoteRepository>)'. 147
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 268281
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/filters/ResolveFileFilter.java
Rule Violation Line
UselessParentheses Useless parentheses. 42

Files

org/apache/maven/plugins/dependency/ListRepositoriesMojo.java

Rule Violation Priority Line
UnusedPrivateMethod Avoid unused private methods such as 'getMirroredRepo(Set<RemoteRepository>)'. 3 147

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 268281

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