PMD Results

The following document contains the results of PMD 7.3.0.

Violations By Priority

Priority 3

org/sim0mq/federatestarter/FederateStarter.java

Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 325328
EmptyCatchBlock Avoid empty catch blocks 392395
EmptyCatchBlock Avoid empty catch blocks 468471
CollapsibleIfStatements This if statement could be combined with its parent 481485
CollapsibleIfStatements This if statement could be combined with its parent 490494

Priority 4

org/sim0mq/message/Sim0MQMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is declared in an enclosing type 250
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'encodeUTF8' is already in scope 273
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is declared in an enclosing type 352
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is declared in an enclosing type 405
UselessParentheses Useless parentheses. 587
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is declared in an enclosing type 587

org/sim0mq/message/federatestarter/FS2FederateStartedMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 60

org/sim0mq/message/federatestarter/FS4FederateKilledMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 53

org/sim0mq/message/federatestarter/FS5FederatesKilledMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 47

org/sim0mq/message/federationmanager/FM1StartFederateMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 152

org/sim0mq/message/federationmanager/FM3SetParameterMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 48

org/sim0mq/message/federationmanager/FM6RequestStatisticsMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 50

org/sim0mq/message/federationmanager/FM8KillFederateMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 42

org/sim0mq/message/heartbeat/HB2AliveMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 40

org/sim0mq/message/modelcontroller/MC1StatusMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 49

org/sim0mq/message/modelcontroller/MC2AckNakMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 50

org/sim0mq/message/modelcontroller/MC3StatisticsMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 54

org/sim0mq/message/modelcontroller/MC4StatisticsErrorMessage.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 48

Files

org/sim0mq/federatestarter/FederateStarter.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 325328
EmptyCatchBlock Avoid empty catch blocks 3 392395
EmptyCatchBlock Avoid empty catch blocks 3 468471
CollapsibleIfStatements This if statement could be combined with its parent 3 481485
CollapsibleIfStatements This if statement could be combined with its parent 3 490494

org/sim0mq/message/Sim0MQMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is declared in an enclosing type 4 250
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'encodeUTF8' is already in scope 4 273
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is declared in an enclosing type 4 352
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is declared in an enclosing type 4 405
UselessParentheses Useless parentheses. 4 587
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is declared in an enclosing type 4 587

org/sim0mq/message/federatestarter/FS2FederateStartedMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 60

org/sim0mq/message/federatestarter/FS4FederateKilledMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 53

org/sim0mq/message/federatestarter/FS5FederatesKilledMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 47

org/sim0mq/message/federationmanager/FM1StartFederateMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 152

org/sim0mq/message/federationmanager/FM3SetParameterMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 48

org/sim0mq/message/federationmanager/FM6RequestStatisticsMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 50

org/sim0mq/message/federationmanager/FM8KillFederateMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 42

org/sim0mq/message/heartbeat/HB2AliveMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 40

org/sim0mq/message/modelcontroller/MC1StatusMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 49

org/sim0mq/message/modelcontroller/MC2AckNakMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 50

org/sim0mq/message/modelcontroller/MC3StatisticsMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 54

org/sim0mq/message/modelcontroller/MC4StatisticsErrorMessage.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary qualifier 'Sim0MQMessage': 'VERSION' is already in scope because it is inherited by an enclosing type 4 48