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 |
248–251 |
Useless parentheses. |
416 |
Useless parentheses. |
416 |
org/apache/maven/index/DefaultQueryCreator.java
Violation |
Line |
These nested if statements could be combined |
151–155 |
org/apache/maven/index/DefaultSearchEngine.java
Violation |
Line |
These nested if statements could be combined |
177–180 |
These nested if statements could be combined |
232–235 |
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 |
194–196 |
org/apache/maven/index/context/DefaultIndexingContext.java
Violation |
Line |
These nested if statements could be combined |
504–507 |
org/apache/maven/index/context/MergedIndexingContext.java
Violation |
Line |
These nested if statements could be combined |
152–155 |
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 |
628–630 |
Avoid empty catch blocks |
642–644 |
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 |
373–375 |
These nested if statements could be combined |
724–729 |
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 |
154–157 |
These nested if statements could be combined |
167–170 |
Useless parentheses. |
272 |
Useless parentheses. |
272 |
Useless parentheses. |
297 |
Useless parentheses. |
297 |
Useless parentheses. |
307 |
Useless parentheses. |
307 |