PMD Results

The following document contains the results of PMD 4.2.5.

Files

cz/cuni/amis/utils/IniFile.java

ViolationLine
Avoid unused imports such as 'java.util.HashSet'17
Avoid unused imports such as 'java.util.Map.Entry'23
Avoid unused constructor parameters such as 'comment'.58 - 69
These nested if statements could be combined114
Avoid unused private fields such as 'sectionIndex'.186
Avoid empty catch blocks595 - 596

cz/cuni/amis/utils/SoftHashMap.java

ViolationLine
Ensure you override both equals() and hashCode()233

cz/cuni/amis/utils/StreamSink.java

ViolationLine
Avoid empty catch blocks107 - 110

cz/cuni/amis/utils/collections/MyCollections.java

ViolationLine
Avoid unused imports such as 'java.util.Set'9

cz/cuni/amis/utils/collections/ObservableCollections.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.utils.collections.ObservableList'4
No need to import a type that lives in the same package4
Avoid unused imports such as 'java.util.ArrayList'5

cz/cuni/amis/utils/configuration/providers/AbstractPropertiesProvider.java

ViolationLine
Avoid unused imports such as 'java.io.IOException'4

cz/cuni/amis/utils/flag/ReasonFlag.java

ViolationLine
Overriding method merely calls super94 - 96
Overriding method merely calls super111 - 113

cz/cuni/amis/utils/flag/ReasonFlagListener.java

ViolationLine
Avoid unused imports such as 'cz.cuni.amis.utils.listener.Listeners'3

cz/cuni/amis/utils/flag/connective/And.java

ViolationLine
Ensure you override both equals() and hashCode()45

cz/cuni/amis/utils/flag/connective/Connective.java

ViolationLine
Ensure you override both equals() and hashCode()47

cz/cuni/amis/utils/floydwarshall/FWMap.java

ViolationLine
Avoid unused imports such as 'java.util.Collection'3

cz/cuni/amis/utils/heap/Heap.java

ViolationLine
Avoid unused imports such as 'java.util.ArrayList'3
Avoid unused imports such as 'java.util.List'9

cz/cuni/amis/utils/listener/Listeners.java

ViolationLine
These nested if statements could be combined366

cz/cuni/amis/utils/maps/HashTriMap.java

ViolationLine
An empty statement (semicolon) not part of a loop56
An empty statement (semicolon) not part of a loop72
An empty statement (semicolon) not part of a loop109
An empty statement (semicolon) not part of a loop123

cz/cuni/amis/utils/maps/WeakHashTriMap.java

ViolationLine
An empty statement (semicolon) not part of a loop65
An empty statement (semicolon) not part of a loop81
An empty statement (semicolon) not part of a loop118
An empty statement (semicolon) not part of a loop132

cz/cuni/amis/utils/statistic/MovingAverage.java

ViolationLine
Avoid unused private fields such as 'averagator'.5