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'. 48
org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java
Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 19171
org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java
Rule Violation Line
TooManyStaticImports Too many static imports may lead to messy code 19199

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 264
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.api.model': 'Dependency' is already in scope because it is imported in this file 274
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 169
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 130
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Maven4ScopeManagerConfiguration': 'INSTANCE' is already in scope because it is declared in an enclosing type 197

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 264
UnnecessaryFullyQualifiedName Unnecessary qualifier 'org.apache.maven.api.model': 'Dependency' is already in scope because it is imported in this file 4 274

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

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

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

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

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

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