PMD Results

The following document contains the results of PMD 6.46.0.

Violations By Priority

Priority 3

org/opentrafficsim/sim0mq/publisher/EventSerializer.java

Rule Violation Line
EmptyControlStatement Empty for statement 4649

org/opentrafficsim/sim0mq/publisher/ReturnWrapperImpl.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'packetsSent'. 59

Priority 4

org/opentrafficsim/sim0mq/publisher/AbstractTransceiver.java

Rule Violation Line
UselessParentheses Useless parentheses. 83
UselessParentheses Useless parentheses. 94
UselessParentheses Useless parentheses. 94

org/opentrafficsim/sim0mq/publisher/LaneGtuIdTransceiver.java

Rule Violation Line
UselessParentheses Useless parentheses. 61

org/opentrafficsim/sim0mq/publisher/LinkTransceiver.java

Rule Violation Line
UnnecessaryImport Duplicate import 'org.opentrafficsim.core.network.Link' 9

org/opentrafficsim/sim0mq/publisher/Publisher.java

Rule Violation Line
UnnecessaryImport Duplicate import 'org.opentrafficsim.core.network.Link' 15

Files

org/opentrafficsim/sim0mq/publisher/AbstractTransceiver.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 83
UselessParentheses Useless parentheses. 4 94
UselessParentheses Useless parentheses. 4 94

org/opentrafficsim/sim0mq/publisher/EventSerializer.java

Rule Violation Priority Line
EmptyControlStatement Empty for statement 3 4649

org/opentrafficsim/sim0mq/publisher/LaneGtuIdTransceiver.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 61

org/opentrafficsim/sim0mq/publisher/LinkTransceiver.java

Rule Violation Priority Line
UnnecessaryImport Duplicate import 'org.opentrafficsim.core.network.Link' 4 9

org/opentrafficsim/sim0mq/publisher/Publisher.java

Rule Violation Priority Line
UnnecessaryImport Duplicate import 'org.opentrafficsim.core.network.Link' 4 15

org/opentrafficsim/sim0mq/publisher/ReturnWrapperImpl.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'packetsSent'. 3 59