PMD Results

The following document contains the results of PMD 5.6.1.

Files

org/apache/maven/index/DefaultIteratorResultSet.java

Violation Line
Useless parentheses. 222
Useless parentheses. 222
Useless parentheses. 222
These nested if statements could be combined 248251
Useless parentheses. 416
Useless parentheses. 416

org/apache/maven/index/DefaultQueryCreator.java

Violation Line
These nested if statements could be combined 151155

org/apache/maven/index/DefaultSearchEngine.java

Violation Line
These nested if statements could be combined 177180
These nested if statements could be combined 232235

org/apache/maven/index/IndexerField.java

Violation Line
Avoid unused constructor parameters such as 'description'. 78

org/apache/maven/index/OneLineFragmenter.java

Violation Line
Useless parentheses. 42
Useless parentheses. 42

org/apache/maven/index/artifact/M2GavCalculator.java

Violation Line
Avoid empty catch blocks 194196

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

Violation Line
These nested if statements could be combined 504507

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

Violation Line
These nested if statements could be combined 152155

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

Violation Line
Avoid unused constructor parameters such as 'create'. 46

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

Violation Line
Useless parentheses. 191

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

Violation Line
Avoid empty while statements 628630
Avoid empty catch blocks 642644

org/apache/maven/index/treeview/TreeViewRequest.java

Violation Line
Useless parentheses. 93

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

Violation Line
Avoid unused local variables such as 'success'. 285
Avoid empty catch blocks 373375
These nested if statements could be combined 724729

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

Violation Line
Useless parentheses. 277
Useless parentheses. 277
Useless parentheses. 282

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

Violation Line
These nested if statements could be combined 154157
These nested if statements could be combined 167170
Useless parentheses. 272
Useless parentheses. 272
Useless parentheses. 297
Useless parentheses. 297
Useless parentheses. 307
Useless parentheses. 307