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 70–73

org/djutils/immutablecollections/ImmutableHashSet.java

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

org/djutils/immutablecollections/ImmutableLinkedHashSet.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 63–66

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 369–372

org/djutils/reflection/ClassUtil.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 672–675
EmptyCatchBlock Avoid empty catch blocks 1138–1141

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 70–73

org/djutils/immutablecollections/ImmutableHashSet.java

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

org/djutils/immutablecollections/ImmutableLinkedHashSet.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 63–66

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 113–116
EmptyCatchBlock Avoid empty catch blocks 3 206–209

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 369–372

org/djutils/reflection/ClassUtil.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 672–675
EmptyCatchBlock Avoid empty catch blocks 3 1138–1141

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