PMD Results

The following document contains the results of PMD 4.3.

Files

org/apache/commons/collections/ExtendedProperties.java

ViolationLine
Overriding method merely calls super403 - 405
Avoid empty catch blocks470
Avoid empty catch blocks532 - 534
These nested if statements could be combined615 - 617

org/apache/commons/collections/IteratorUtils.java

ViolationLine
Avoid empty catch blocks1051 - 1053
Avoid empty catch blocks1053 - 1055
Avoid empty catch blocks1055 - 1057
Avoid empty catch blocks1057 - 1059

org/apache/commons/collections/MapUtils.java

ViolationLine
Avoid empty catch blocks200 - 202

org/apache/commons/collections/bag/TransformedBag.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException.79

org/apache/commons/collections/bag/TransformedSortedBag.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException.80

org/apache/commons/collections/buffer/TransformedBuffer.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException.80

org/apache/commons/collections/collection/TransformedCollection.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException.87

org/apache/commons/collections/comparators/sequence/SequencesComparator.java

ViolationLine
These nested if statements could be combined164 - 166
These nested if statements could be combined190 - 192

org/apache/commons/collections/functors/PrototypeFactory.java

ViolationLine
Avoid empty catch blocks194 - 196
Avoid empty catch blocks199 - 201

org/apache/commons/collections/iterators/FilterIterator.java

ViolationLine
These nested if statements could be combined99 - 101

org/apache/commons/collections/iterators/FilterListIterator.java

ViolationLine
These nested if statements could be combined130 - 132
These nested if statements could be combined146 - 148

org/apache/commons/collections/iterators/ObjectGraphIterator.java

ViolationLine
Avoid empty if statements140 - 142
Avoid empty if statements193 - 195
Avoid empty if statements195 - 197

org/apache/commons/collections/list/CursorableLinkedList.java

ViolationLine
Avoid empty if statements434 - 439

org/apache/commons/collections/list/TransformedList.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException.83

org/apache/commons/collections/map/AbstractReferenceMap.java

ViolationLine
Avoid empty while statements295
Ensure you override both equals() and hashCode()951
Ensure you override both equals() and hashCode()969

org/apache/commons/collections/map/PassiveExpiringMap.java

ViolationLine
Avoid unused constructor parameters such as 'timeUnit'.122 - 125
Avoid unused method parameters such as 'now'.437 - 443

org/apache/commons/collections/map/StaticBucketMap.java

ViolationLine
Unnecessary final modifier in final class153 - 166

org/apache/commons/collections/set/CompositeSet.java

ViolationLine
Overriding method merely calls super154 - 156

org/apache/commons/collections/set/TransformedSet.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException.79

org/apache/commons/collections/set/TransformedSortedSet.java

ViolationLine
This usage of the Collection.toArray() method will throw a ClassCastException.81

org/apache/commons/collections/trie/PatriciaTrieBase.java

ViolationLine
These nested if statements could be combined194 - 197