PMD Results
The following document contains the results of PMD 4.2.5.
Files
org/apache/maven/archiva/repository/RepositoryContentFactory.java
Violation | Line |
---|
Avoid empty catch blocks | 177 - 180 |
Avoid empty catch blocks | 196 - 199 |
org/apache/maven/archiva/repository/content/AbstractLegacyRepositoryContent.java
Violation | Line |
---|
Avoid unused method parameters such as 'classifier'. | 107 - 118 |
org/apache/maven/archiva/repository/content/ManagedDefaultRepositoryContent.java
Violation | Line |
---|
Avoid empty catch blocks | 75 - 78 |
org/apache/maven/archiva/repository/content/ManagedLegacyRepositoryContent.java
Violation | Line |
---|
Avoid empty if statements | 90 - 92 |
Avoid empty catch blocks | 123 - 126 |
Avoid empty if statements | 185 - 187 |
Avoid empty if statements | 235 - 237 |
Avoid empty if statements | 275 - 277 |
Avoid empty catch blocks | 385 - 388 |
Avoid empty catch blocks | 417 - 420 |
Avoid empty catch blocks | 449 - 452 |
org/apache/maven/archiva/repository/project/filters/EffectiveProjectModelFilter.java
Violation | Line |
---|
Avoid unused imports such as 'org.apache.maven.archiva.model.IssueManagement' | 27 |
Avoid unused method parameters such as 'msg'. | 307 - 311 |
org/apache/maven/archiva/repository/project/readers/ProjectModel300Reader.java
Violation | Line |
---|
Avoid empty if statements | 183 - 185 |
Avoid unused method parameters such as 'xml'. | 387 - 395 |
org/apache/maven/archiva/repository/project/readers/ProjectModel400Reader.java
Violation | Line |
---|
Avoid empty if statements | 65 - 68 |
Avoid empty if statements | 210 - 212 |
org/apache/maven/archiva/repository/project/resolvers/ProjectModelResolverStack.java
Violation | Line |
---|
Avoid empty catch blocks | 161 - 164 |
Avoid empty catch blocks | 179 - 182 |
Avoid empty catch blocks | 197 - 200 |
Avoid empty catch blocks | 215 - 218 |
Avoid empty catch blocks | 233 - 236 |
Avoid empty catch blocks | 252 - 255 |
org/apache/maven/archiva/repository/scanner/RepositoryContentConsumers.java
Violation | Line |
---|
Avoid empty finally blocks | 289 - 296 |
org/apache/maven/archiva/repository/scanner/RepositoryScanner.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.Collection' | 27 |
org/apache/maven/archiva/repository/scanner/RepositoryScannerInstance.java
Violation | Line |
---|
Avoid unused imports such as 'org.apache.maven.archiva.consumers.RepositoryContentConsumer' | 37 |
org/apache/maven/archiva/repository/scanner/functors/ConsumerProcessFileClosure.java
Violation | Line |
---|
Avoid unused imports such as 'java.util.HashMap' | 28 |
org/apache/maven/archiva/repository/scanner/functors/ConsumerWantsFilePredicate.java
Violation | Line |
---|
These nested if statements could be combined | 63 - 67 |