PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/maven/archiva/repository/RepositoryContentFactory.java

ViolationLine
Avoid empty catch blocks177 - 180
Avoid empty catch blocks196 - 199

org/apache/maven/archiva/repository/content/AbstractLegacyRepositoryContent.java

ViolationLine
Avoid unused method parameters such as 'classifier'.107 - 118

org/apache/maven/archiva/repository/content/ManagedDefaultRepositoryContent.java

ViolationLine
Avoid empty catch blocks75 - 78

org/apache/maven/archiva/repository/content/ManagedLegacyRepositoryContent.java

ViolationLine
Avoid empty if statements90 - 92
Avoid empty catch blocks123 - 126
Avoid empty if statements185 - 187
Avoid empty if statements235 - 237
Avoid empty if statements275 - 277
Avoid empty catch blocks385 - 388
Avoid empty catch blocks417 - 420
Avoid empty catch blocks449 - 452

org/apache/maven/archiva/repository/project/filters/EffectiveProjectModelFilter.java

ViolationLine
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

ViolationLine
Avoid empty if statements183 - 185
Avoid unused method parameters such as 'xml'.387 - 395

org/apache/maven/archiva/repository/project/readers/ProjectModel400Reader.java

ViolationLine
Avoid empty if statements65 - 68
Avoid empty if statements210 - 212

org/apache/maven/archiva/repository/project/resolvers/ProjectModelResolverStack.java

ViolationLine
Avoid empty catch blocks161 - 164
Avoid empty catch blocks179 - 182
Avoid empty catch blocks197 - 200
Avoid empty catch blocks215 - 218
Avoid empty catch blocks233 - 236
Avoid empty catch blocks252 - 255

org/apache/maven/archiva/repository/scanner/RepositoryContentConsumers.java

ViolationLine
Avoid empty finally blocks289 - 296

org/apache/maven/archiva/repository/scanner/RepositoryScanner.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'27

org/apache/maven/archiva/repository/scanner/RepositoryScannerInstance.java

ViolationLine
Avoid unused imports such as 'org.apache.maven.archiva.consumers.RepositoryContentConsumer'37

org/apache/maven/archiva/repository/scanner/functors/ConsumerProcessFileClosure.java

ViolationLine
Avoid unused imports such as 'java.util.HashMap'28

org/apache/maven/archiva/repository/scanner/functors/ConsumerWantsFilePredicate.java

ViolationLine
These nested if statements could be combined63 - 67