PMD Results
The following document contains the results of PMD 4.2.5.
Files
cz/cuni/amis/utils/FileMarker.java
| Violation | Line |
|---|
| These nested if statements could be combined | 22 - 24 |
| These nested if statements could be combined | 71 - 73 |
| These nested if statements could be combined | 113 - 115 |
cz/cuni/amis/utils/IniFile.java
| Violation | Line |
|---|
| Avoid unused constructor parameters such as 'comment'. | 58 - 69 |
| These nested if statements could be combined | 114 |
| Avoid unused private fields such as 'sectionIndex'. | 186 |
| Avoid empty catch blocks | 595 - 596 |
cz/cuni/amis/utils/SoftHashMap.java
| Violation | Line |
|---|
| Ensure you override both equals() and hashCode() | 233 |
cz/cuni/amis/utils/StreamSink.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 107 - 110 |
cz/cuni/amis/utils/collections/MyCollections.java
| Violation | Line |
|---|
| Avoid unused imports such as 'java.util.Set' | 9 |
cz/cuni/amis/utils/collections/ObservableCollections.java
| Violation | Line |
|---|
| Avoid unused imports such as 'cz.cuni.amis.utils.collections.ObservableList' | 4 |
| No need to import a type that lives in the same package | 4 |
| Avoid unused imports such as 'java.util.ArrayList' | 5 |
cz/cuni/amis/utils/configuration/providers/AbstractPropertiesProvider.java
| Violation | Line |
|---|
| Avoid unused imports such as 'java.io.IOException' | 4 |
cz/cuni/amis/utils/flag/ReasonFlag.java
| Violation | Line |
|---|
| Overriding method merely calls super | 94 - 96 |
| Overriding method merely calls super | 111 - 113 |
cz/cuni/amis/utils/flag/ReasonFlagListener.java
| Violation | Line |
|---|
| Avoid unused imports such as 'cz.cuni.amis.utils.listener.Listeners' | 3 |
cz/cuni/amis/utils/flag/connective/And.java
| Violation | Line |
|---|
| Ensure you override both equals() and hashCode() | 45 |
cz/cuni/amis/utils/flag/connective/Connective.java
| Violation | Line |
|---|
| Ensure you override both equals() and hashCode() | 47 |
cz/cuni/amis/utils/future/FutureWithListeners.java
| Violation | Line |
|---|
| Avoid unused imports such as 'java.util.concurrent.Future' | 4 |
cz/cuni/amis/utils/listener/Listeners.java
| Violation | Line |
|---|
| These nested if statements could be combined | 366 |
cz/cuni/amis/utils/maps/HashTriMap.java
| Violation | Line |
|---|
| An empty statement (semicolon) not part of a loop | 56 |
| An empty statement (semicolon) not part of a loop | 72 |
| An empty statement (semicolon) not part of a loop | 109 |
| An empty statement (semicolon) not part of a loop | 123 |
cz/cuni/amis/utils/maps/WeakHashTriMap.java
| Violation | Line |
|---|
| An empty statement (semicolon) not part of a loop | 65 |
| An empty statement (semicolon) not part of a loop | 81 |
| An empty statement (semicolon) not part of a loop | 118 |
| An empty statement (semicolon) not part of a loop | 132 |
cz/cuni/amis/utils/statistic/MovingAverage.java
| Violation | Line |
|---|
| Avoid unused private fields such as 'averagator'. | 5 |