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 7073

org/djutils/immutablecollections/ImmutableHashSet.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 6669

org/djutils/immutablecollections/ImmutableLinkedHashSet.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 6366

org/djutils/io/URLResource.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 113116
EmptyCatchBlock Avoid empty catch blocks 206209

org/djutils/primitives/Primitive.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 369372

org/djutils/reflection/ClassUtil.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 672675
EmptyCatchBlock Avoid empty catch blocks 11381141

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. 127
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 137
UselessParentheses Useless parentheses. 137

org/djutils/event/AbstractEvent.java

Rule Violation Line
UselessParentheses Useless parentheses. 65

org/djutils/immutablecollections/ImmutableMap.java

Rule Violation Line
UselessParentheses Useless parentheses. 114
UselessParentheses Useless parentheses. 114

org/djutils/metadata/MetaData.java

Rule Violation Line
UselessParentheses Useless parentheses. 169
UselessParentheses Useless parentheses. 169

org/djutils/multikeymap/MultiKeyMap.java

Rule Violation Line
UselessParentheses Useless parentheses. 201

org/djutils/primitives/Primitive.java

Rule Violation Line
UselessParentheses Useless parentheses. 47

Files

org/djutils/decoderdumper/Dumper.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 137
UselessParentheses Useless parentheses. 4 137

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 7073

org/djutils/immutablecollections/ImmutableHashSet.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 6669

org/djutils/immutablecollections/ImmutableLinkedHashSet.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 6366

org/djutils/immutablecollections/ImmutableMap.java

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

org/djutils/io/URLResource.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 113116
EmptyCatchBlock Avoid empty catch blocks 3 206209

org/djutils/metadata/MetaData.java

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

org/djutils/multikeymap/MultiKeyMap.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 201

org/djutils/primitives/Primitive.java

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

org/djutils/reflection/ClassUtil.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 672675
EmptyCatchBlock Avoid empty catch blocks 3 11381141

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