PMD Results
The following document contains the results of PMD 7.3.0.
Violations By Priority
Priority 3
org/opentrafficsim/sim0mq/publisher/EventSerializer.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty for statement | 46–49 |
org/opentrafficsim/sim0mq/publisher/ReturnWrapperImpl.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'packetsSent'. | 59 |
org/opentrafficsim/sim0mq/publisher/SimulatorStateTransceiver.java
Rule | Violation | Line |
---|---|---|
UnusedPrivateMethod | Avoid unused private methods such as 'notifyTimedEvent(Event)'. | 146 |
Priority 4
org/opentrafficsim/sim0mq/publisher/AbstractTransceiver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 83 |
UselessParentheses | Useless parentheses. | 94 |
org/opentrafficsim/sim0mq/publisher/CrossSectionElementTransceiver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 63 |
UselessParentheses | Useless parentheses. | 76 |
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 |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 105 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 135 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 167 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 223 |
org/opentrafficsim/sim0mq/publisher/SimulatorStateTransceiver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 60 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 87 |
Files
org/opentrafficsim/sim0mq/publisher/AbstractTransceiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 83 |
UselessParentheses | Useless parentheses. | 4 | 94 |
org/opentrafficsim/sim0mq/publisher/CrossSectionElementTransceiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 63 |
UselessParentheses | Useless parentheses. | 4 | 76 |
org/opentrafficsim/sim0mq/publisher/EventSerializer.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty for statement | 3 | 46–49 |
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 |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 4 | 105 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 4 | 135 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 4 | 167 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 4 | 223 |
org/opentrafficsim/sim0mq/publisher/ReturnWrapperImpl.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused constructor parameters such as 'packetsSent'. | 3 | 59 |
org/opentrafficsim/sim0mq/publisher/SimulatorStateTransceiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 4 | 60 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'AbstractTransceiver': 'verifyMetaData' is already in scope | 4 | 87 |
UnusedPrivateMethod | Avoid unused private methods such as 'notifyTimedEvent(Event)'. | 3 | 146 |