PMD Results

The following document contains the results of PMD 4.2.5.

Files

org/apache/maven/index/ArtifactContext.java

ViolationLine
Avoid empty catch blocks98 - 100
Avoid empty catch blocks119 - 121
Avoid empty catch blocks128 - 130
Avoid empty catch blocks249 - 251
Avoid empty catch blocks252 - 254
Avoid empty catch blocks261 - 263

org/apache/maven/index/DefaultIndexerEngine.java

ViolationLine
Avoid empty catch blocks167 - 169

org/apache/maven/index/DefaultIteratorResultSet.java

ViolationLine
These nested if statements could be combined233 - 236

org/apache/maven/index/DefaultNexusIndexer.java

ViolationLine
Avoid unused local variables such as 'dir'.286

org/apache/maven/index/DefaultQueryCreator.java

ViolationLine
These nested if statements could be combined150 - 154

org/apache/maven/index/IndexerField.java

ViolationLine
Avoid unused constructor parameters such as 'description'.53 - 70

org/apache/maven/index/context/DefaultIndexingContext.java

ViolationLine
These nested if statements could be combined456 - 459
Do not use if statements that are always true or always false615
Do not use if statements that are always true or always false659
Do not use if statements that are always true or always false689

org/apache/maven/index/context/IndexUtils.java

ViolationLine
Avoid empty catch blocks223 - 225

org/apache/maven/index/context/MergedIndexingContext.java

ViolationLine
These nested if statements could be combined150 - 153

org/apache/maven/index/creator/MavenArchetypeArtifactInfoIndexCreator.java

ViolationLine
Avoid empty catch blocks122 - 124

org/apache/maven/index/creator/MavenPluginArtifactInfoIndexCreator.java

ViolationLine
Avoid empty catch blocks145 - 147

org/apache/maven/index/creator/MinimalArtifactInfoIndexCreator.java

ViolationLine
Avoid empty if statements186 - 190

org/apache/maven/index/updater/DefaultIndexUpdater.java

ViolationLine
Avoid empty catch blocks487 - 489
These nested if statements could be combined848 - 851

org/apache/maven/index/updater/IndexDataWriter.java

ViolationLine
These nested if statements could be combined150 - 153
These nested if statements could be combined163 - 166