PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 2

org/sentrysoftware/ipmi/core/common/TypeConverter.java
Rule Violation Line
AvoidMultipleUnaryOperators Using multiple unary operators may be a bug, and/or is confusing. 294

Priority 3

org/sentrysoftware/ipmi/client/runner/AbstractIpmiRunner.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 169171
org/sentrysoftware/ipmi/client/runner/GetFrusRunner.java
Rule Violation Line
EmptyCatchBlock Avoid empty catch blocks 188190
EmptyCatchBlock Avoid empty catch blocks 225227
EmptyCatchBlock Avoid empty catch blocks 236238
org/sentrysoftware/ipmi/core/api/async/IpmiAsyncConnector.java
Rule Violation Line
UnnecessaryReturn Avoid unnecessary return statements 372
org/sentrysoftware/ipmi/core/api/sol/SerialOverLan.java
Rule Violation Line
EmptyControlStatement Empty while statement 568570
org/sentrysoftware/ipmi/core/coding/commands/fru/ReadFruData.java
Rule Violation Line
UnconditionalIfStatement Do not use if statements that are always true or always false 259
EmptyControlStatement Empty if statement 259263
org/sentrysoftware/ipmi/core/coding/commands/fru/record/SpdInfo.java
Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'fruData'. 30
UnusedFormalParameter Avoid unused constructor parameters such as 'offset'. 30
org/sentrysoftware/ipmi/core/transport/UdpMessenger.java
Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 50

Priority 4

org/sentrysoftware/ipmi/core/api/sync/IpmiConnector.java
Rule Violation Line
UselessParentheses Useless parentheses. 402
org/sentrysoftware/ipmi/core/coding/commands/chassis/GetChassisStatus.java
Rule Violation Line
UselessParentheses Useless parentheses. 103
org/sentrysoftware/ipmi/core/coding/commands/chassis/GetChassisStatusResponseData.java
Rule Violation Line
UselessParentheses Useless parentheses. 75
UselessParentheses Useless parentheses. 82
UselessParentheses Useless parentheses. 90
UselessParentheses Useless parentheses. 98
UselessParentheses Useless parentheses. 105
UselessParentheses Useless parentheses. 120
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 135
UselessParentheses Useless parentheses. 142
UselessParentheses Useless parentheses. 149
UselessParentheses Useless parentheses. 165
UselessParentheses Useless parentheses. 182
UselessParentheses Useless parentheses. 189
UselessParentheses Useless parentheses. 197
UselessParentheses Useless parentheses. 204
UselessParentheses Useless parentheses. 227
UselessParentheses Useless parentheses. 240
UselessParentheses Useless parentheses. 252
UselessParentheses Useless parentheses. 267
UselessParentheses Useless parentheses. 279
UselessParentheses Useless parentheses. 292
UselessParentheses Useless parentheses. 304
UselessParentheses Useless parentheses. 319
org/sentrysoftware/ipmi/core/coding/commands/fru/record/BoardInfo.java
Rule Violation Line
UselessParentheses Useless parentheses. 114
org/sentrysoftware/ipmi/core/coding/commands/fru/record/ChassisInfo.java
Rule Violation Line
UselessParentheses Useless parentheses. 74
org/sentrysoftware/ipmi/core/coding/commands/fru/record/ProductInfo.java
Rule Violation Line
UselessParentheses Useless parentheses. 91
org/sentrysoftware/ipmi/core/coding/commands/sdr/record/FullSensorRecord.java
Rule Violation Line
UselessParentheses Useless parentheses. 186
org/sentrysoftware/ipmi/core/coding/commands/sdr/record/ReadingType.java
Rule Violation Line
UselessParentheses Useless parentheses. 921
org/sentrysoftware/ipmi/core/coding/payload/lan/IpmiLanMessage.java
Rule Violation Line
UselessParentheses Useless parentheses. 128
org/sentrysoftware/ipmi/core/coding/security/CipherSuite.java
Rule Violation Line
UselessParentheses Useless parentheses. 60
UselessParentheses Useless parentheses. 61
UselessParentheses Useless parentheses. 62
org/sentrysoftware/ipmi/core/common/TypeConverter.java
Rule Violation Line
UselessParentheses Useless parentheses. 56
UselessParentheses Useless parentheses. 96
UselessParentheses Useless parentheses. 415
org/sentrysoftware/ipmi/core/connection/MessageHandler.java
Rule Violation Line
UselessParentheses Useless parentheses. 127
org/sentrysoftware/ipmi/core/connection/SessionManager.java
Rule Violation Line
UselessParentheses Useless parentheses. 52

Files

org/sentrysoftware/ipmi/client/runner/AbstractIpmiRunner.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 169171

org/sentrysoftware/ipmi/client/runner/GetFrusRunner.java

Rule Violation Priority Line
EmptyCatchBlock Avoid empty catch blocks 3 188190
EmptyCatchBlock Avoid empty catch blocks 3 225227
EmptyCatchBlock Avoid empty catch blocks 3 236238

org/sentrysoftware/ipmi/core/api/async/IpmiAsyncConnector.java

Rule Violation Priority Line
UnnecessaryReturn Avoid unnecessary return statements 3 372

org/sentrysoftware/ipmi/core/api/sol/SerialOverLan.java

Rule Violation Priority Line
EmptyControlStatement Empty while statement 3 568570

org/sentrysoftware/ipmi/core/api/sync/IpmiConnector.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 402

org/sentrysoftware/ipmi/core/coding/commands/chassis/GetChassisStatus.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 103

org/sentrysoftware/ipmi/core/coding/commands/chassis/GetChassisStatusResponseData.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 75
UselessParentheses Useless parentheses. 4 82
UselessParentheses Useless parentheses. 4 90
UselessParentheses Useless parentheses. 4 98
UselessParentheses Useless parentheses. 4 105
UselessParentheses Useless parentheses. 4 120
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 135
UselessParentheses Useless parentheses. 4 142
UselessParentheses Useless parentheses. 4 149
UselessParentheses Useless parentheses. 4 165
UselessParentheses Useless parentheses. 4 182
UselessParentheses Useless parentheses. 4 189
UselessParentheses Useless parentheses. 4 197
UselessParentheses Useless parentheses. 4 204
UselessParentheses Useless parentheses. 4 227
UselessParentheses Useless parentheses. 4 240
UselessParentheses Useless parentheses. 4 252
UselessParentheses Useless parentheses. 4 267
UselessParentheses Useless parentheses. 4 279
UselessParentheses Useless parentheses. 4 292
UselessParentheses Useless parentheses. 4 304
UselessParentheses Useless parentheses. 4 319

org/sentrysoftware/ipmi/core/coding/commands/fru/ReadFruData.java

Rule Violation Priority Line
UnconditionalIfStatement Do not use if statements that are always true or always false 3 259
EmptyControlStatement Empty if statement 3 259263

org/sentrysoftware/ipmi/core/coding/commands/fru/record/BoardInfo.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 114

org/sentrysoftware/ipmi/core/coding/commands/fru/record/ChassisInfo.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 74

org/sentrysoftware/ipmi/core/coding/commands/fru/record/ProductInfo.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 91

org/sentrysoftware/ipmi/core/coding/commands/fru/record/SpdInfo.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'fruData'. 3 30
UnusedFormalParameter Avoid unused constructor parameters such as 'offset'. 3 30

org/sentrysoftware/ipmi/core/coding/commands/sdr/record/FullSensorRecord.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 186

org/sentrysoftware/ipmi/core/coding/commands/sdr/record/ReadingType.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 921

org/sentrysoftware/ipmi/core/coding/payload/lan/IpmiLanMessage.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 128

org/sentrysoftware/ipmi/core/coding/security/CipherSuite.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 60
UselessParentheses Useless parentheses. 4 61
UselessParentheses Useless parentheses. 4 62

org/sentrysoftware/ipmi/core/common/TypeConverter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 56
UselessParentheses Useless parentheses. 4 96
AvoidMultipleUnaryOperators Using multiple unary operators may be a bug, and/or is confusing. 2 294
UselessParentheses Useless parentheses. 4 415

org/sentrysoftware/ipmi/core/connection/MessageHandler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 127

org/sentrysoftware/ipmi/core/connection/SessionManager.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 52

org/sentrysoftware/ipmi/core/transport/UdpMessenger.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 50
No results.