PMD Results

The following document contains the results of PMD 7.0.0.

Violations By Priority

Priority 3

org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'request'. 45
org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java
Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 19169
org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java
Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 19197

Priority 4

org/apache/maven/repository/internal/DefaultModelResolver.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.api.model': 'Parent' is already in scope because it is imported in this file 262
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.api.model': 'Dependency' is already in scope because it is imported in this file 272
org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Maven3ScopeManagerConfiguration': 'INSTANCE' is already in scope because it is declared in an enclosing type 167
org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java
Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.api': 'DependencyScope' is already in scope because it is imported in this file 128
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Maven4ScopeManagerConfiguration': 'INSTANCE' is already in scope because it is declared in an enclosing type 195

Files

org/apache/maven/repository/internal/DefaultModelResolver.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.api.model': 'Parent' is already in scope because it is imported in this file 4 262
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.api.model': 'Dependency' is already in scope because it is imported in this file 4 272

org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'request'. 3 45

org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 19169
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Maven3ScopeManagerConfiguration': 'INSTANCE' is already in scope because it is declared in an enclosing type 4 167

org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

Rule Violation Priority Line
TooManyStaticImports Too many static imports may lead to messy code 3 19197
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.api': 'DependencyScope' is already in scope because it is imported in this file 4 128
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Maven4ScopeManagerConfiguration': 'INSTANCE' is already in scope because it is declared in an enclosing type 4 195