PMD Results
The following document contains the results of PMD 5.3.5.
Files
org/apache/maven/index/ArtifactInfo.java
Violation |
Line |
Avoid unused private fields such as 'uinfo'. |
339 |
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 |
150–154 |
org/apache/maven/index/DefaultSearchEngine.java
Violation |
Line |
These nested if statements could be combined |
178–181 |
These nested if statements could be combined |
233–236 |
org/apache/maven/index/IndexerField.java
Violation |
Line |
Avoid unused constructor parameters such as 'description'. |
54 |
org/apache/maven/index/OneLineFragmenter.java
Violation |
Line |
Useless parentheses. |
53 |
Useless parentheses. |
53 |
org/apache/maven/index/artifact/M2GavCalculator.java
Violation |
Line |
Avoid empty catch blocks |
198–200 |
org/apache/maven/index/context/DefaultIndexingContext.java
Violation |
Line |
These nested if statements could be combined |
501–504 |
org/apache/maven/index/context/IndexUtils.java
Violation |
Line |
Avoid unused private fields such as 'BUFFER_SIZE'. |
45 |
org/apache/maven/index/context/MergedIndexingContext.java
Violation |
Line |
These nested if statements could be combined |
151–154 |
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. |
193 |
org/apache/maven/index/creator/MavenArchetypeArtifactInfoIndexCreator.java
Violation |
Line |
Avoid empty catch blocks |
123–125 |
org/apache/maven/index/creator/MavenPluginArtifactInfoIndexCreator.java
Violation |
Line |
Avoid empty catch blocks |
147–149 |
org/apache/maven/index/creator/OsgiArtifactIndexCreator.java
Violation |
Line |
Avoid empty while statements |
645–647 |
Avoid empty catch blocks |
663–665 |
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'. |
276 |
Avoid empty catch blocks |
364–366 |
These nested if statements could be combined |
717–722 |
org/apache/maven/index/updater/IndexDataReader.java
Violation |
Line |
Useless parentheses. |
285 |
Useless parentheses. |
285 |
org/apache/maven/index/updater/IndexDataWriter.java
Violation |
Line |
These nested if statements could be combined |
153–156 |
These nested if statements could be combined |
166–169 |
Useless parentheses. |
271 |
Useless parentheses. |
271 |
Useless parentheses. |
296 |
Useless parentheses. |
296 |
Useless parentheses. |
306 |
Useless parentheses. |
306 |