PMD Results

The following document contains the results of PMD 4.2.5.

Files

pulsefire-device-flash - org/nongnu/pulsefire/device/flash/avr/AbstractStk500Controller.java

ViolationLine
Avoid empty catch blocks94 - 95
Avoid empty catch blocks98 - 99
Avoid empty catch blocks102 - 103

pulsefire-device-flash - org/nongnu/pulsefire/device/flash/avr/Stk500Controller.java

ViolationLine
Avoid unused local variables such as 'varef'.180
Avoid unused local variables such as 'osc0'.181
Avoid unused local variables such as 'osc1'.182
Avoid unused local variables such as 'sck'.183
Avoid unused local variables such as 'enterProg'.190
Avoid unused local variables such as 'lFuse0'.200
Avoid unused local variables such as 'lFuse1'.201
Avoid unused local variables such as 'hFuse0'.205
Avoid unused local variables such as 'hFuse1'.206
Avoid unused local variables such as 'eFuse0'.210
Avoid unused local variables such as 'eFuse1'.211
Avoid unused local variables such as 'eraseFlash0'.218
Avoid unused local variables such as 'eraseFlash1'.219
Avoid unused local variables such as 'eraseFlash2'.220
Avoid unused local variables such as 'eraseFlash3'.221

pulsefire-device-flash - org/nongnu/pulsefire/device/flash/avr/Stk500v2Controller.java

ViolationLine
Avoid unused local variables such as 'sckTime'.197
Avoid unused local variables such as 'vAdjust'.198
Avoid unused local variables such as 'oscP'.199
Avoid unused local variables such as 'oscC'.200
Avoid unused local variables such as 'resetPol'.202
Avoid unused local variables such as 'lFuse0'.231
Avoid unused local variables such as 'lFuse1'.232
Avoid unused local variables such as 'hFuse0'.236
Avoid unused local variables such as 'hFuse1'.237
Avoid unused local variables such as 'eFuse0'.241
Avoid unused local variables such as 'eFuse1'.242
Avoid unused local variables such as 'eraseFlash0'.249
Avoid unused local variables such as 'eraseFlash1'.250
Avoid unused local variables such as 'eraseFlash2'.251
Avoid unused local variables such as 'eraseFlash3'.252
Avoid unused local variables such as 'eraseChip0'.256
Avoid unused local variables such as 'eraseChipReset'.257

pulsefire-device-ui - org/nongnu/pulsefire/device/ui/JNimbusColorFrame.java

ViolationLine
Avoid unused method parameters such as 'isPrimary'.114 - 153

pulsefire-device-ui - org/nongnu/pulsefire/device/ui/PulseFireUI.java

ViolationLine
Avoid empty catch blocks332 - 333

pulsefire-device-ui - org/nongnu/pulsefire/device/ui/PulseFireUISettingManager.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.78

pulsefire-device-ui - org/nongnu/pulsefire/device/ui/components/JCommandComboBox.java

ViolationLine
Avoid unnecessary temporaries when converting primitives to Strings72
Avoid unnecessary temporaries when converting primitives to Strings74

pulsefire-device-ui - org/nongnu/pulsefire/device/ui/components/JCommandSettingListDialog.java

ViolationLine
These nested if statements could be combined279 - 284

pulsefire-device-ui - org/nongnu/pulsefire/device/ui/components/JFireGlassPane.java

ViolationLine
Avoid empty if statements64 - 66
Avoid empty if statements69 - 71

pulsefire-device-ui - org/nongnu/pulsefire/device/ui/tabs/JTabPanelLpm.java

ViolationLine
Avoid empty catch blocks946

pulsefire-device-ui - org/nongnu/pulsefire/device/ui/tabs/JTabPanelScope.java

ViolationLine
Avoid unused method parameters such as 'message'.200 - 202

pulsefire-device-ui - org/nongnu/pulsefire/device/ui/tabs/JTabPanelSystem.java

ViolationLine
Avoid empty catch blocks222 - 223

pulsefire-device - org/nongnu/pulsefire/device/DeviceCommandRequest.java

ViolationLine
Avoid unnecessary return statements81

pulsefire-wire-serial - org/nongnu/pulsefire/wire/serial/SerialDeviceWireManager.java

ViolationLine
Avoid empty catch blocks70 - 71

pulsefire-wire-serial - org/nongnu/pulsefire/wire/serial/SerialDeviceWireThread.java

ViolationLine
Avoid empty catch blocks97
Avoid empty catch blocks98
Avoid unnecessary return statements135
These nested if statements could be combined197 - 200

pulsefire-wire - org/nongnu/pulsefire/wire/CommandName.java

ViolationLine
Avoid empty catch blocks392 - 393

pulsefire-wire - org/nongnu/pulsefire/wire/MalCommand.java

ViolationLine
Avoid empty if statements179 - 181
Avoid empty if statements191 - 197