PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 3

org/djutils/immutablecollections/ImmutableArrayList.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 69–72

org/djutils/immutablecollections/ImmutableHashSet.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 65–68

org/djutils/immutablecollections/ImmutableLinkedHashSet.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 62–65

org/djutils/io/URLResource.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 113–116
EmptyCatchBlock Avoid empty catch blocks 206–209

org/djutils/primitives/Primitive.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 367–370

org/djutils/reflection/ClassUtil.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 664–667
EmptyCatchBlock Avoid empty catch blocks 1128–1131

org/djutils/rmi/RMIObject.java

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 45

org/djutils/rmi/RMIUtils.java

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 74

Priority 4

org/djutils/decoderdumper/Dumper.java

Rule Violation Line
UselessParentheses Useless parentheses. 126
UselessParentheses Useless parentheses. 126
UselessParentheses Useless parentheses. 136
UselessParentheses Useless parentheses. 136

org/djutils/event/AbstractEvent.java

Rule Violation Line
UselessParentheses Useless parentheses. 65

org/djutils/immutablecollections/ImmutableMap.java

Rule Violation Line
UselessParentheses Useless parentheses. 113
UselessParentheses Useless parentheses. 113

org/djutils/metadata/MetaData.java

Rule Violation Line
UselessParentheses Useless parentheses. 168
UselessParentheses Useless parentheses. 168

org/djutils/multikeymap/MultiKeyMap.java

Rule Violation Line
UselessParentheses Useless parentheses. 200

org/djutils/primitives/Primitive.java

Rule Violation Line
UselessParentheses Useless parentheses. 47

org/djutils/quadtree/QuadTree.java

Rule Violation Line
UselessParentheses Useless parentheses. 401
UselessParentheses Useless parentheses. 401

org/djutils/quadtree/Rectangle.java

Rule Violation Line
UselessParentheses Useless parentheses. 147

Files

org/djutils/decoderdumper/Dumper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 126
UselessParentheses Useless parentheses. 4 126
UselessParentheses Useless parentheses. 4 136
UselessParentheses Useless parentheses. 4 136

org/djutils/event/AbstractEvent.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 65

org/djutils/immutablecollections/ImmutableArrayList.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 69–72

org/djutils/immutablecollections/ImmutableHashSet.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 65–68

org/djutils/immutablecollections/ImmutableLinkedHashSet.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 62–65

org/djutils/immutablecollections/ImmutableMap.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 113
UselessParentheses Useless parentheses. 4 113

org/djutils/io/URLResource.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 113–116
EmptyCatchBlock Avoid empty catch blocks 3 206–209

org/djutils/metadata/MetaData.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 168
UselessParentheses Useless parentheses. 4 168

org/djutils/multikeymap/MultiKeyMap.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 200

org/djutils/primitives/Primitive.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 47
CollapsibleIfStatements These nested if statements could be combined 3 367–370

org/djutils/quadtree/QuadTree.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 401
UselessParentheses Useless parentheses. 4 401

org/djutils/quadtree/Rectangle.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 147

org/djutils/reflection/ClassUtil.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 664–667
EmptyCatchBlock Avoid empty catch blocks 3 1128–1131

org/djutils/rmi/RMIObject.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 45

org/djutils/rmi/RMIUtils.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 74