PMD Results

The following document contains the results of PMD 3.9.

Files

net/sf/bluecove/CommunicationTester.java

Violation Line
Avoid unused method parameters such as 'os'. 296 - 312

net/sf/bluecove/ServiceRecordTester.java

Violation Line
Avoid empty if statements 94 - 97
Avoid empty if statements 98 - 101
This for loop could be simplified to a while loop 155 - 161
These nested if statements could be combined 192 - 194

net/sf/bluecove/Switcher.java

Violation Line
Avoid unused private fields such as 'runningServers'. 49

net/sf/bluecove/TestClientBluetoothInquirer.java

Violation Line
Avoid empty catch blocks 166 - 167
Avoid empty if statements 423 - 425

net/sf/bluecove/TestOBEXCilent.java

Violation Line
Avoid unused constructor parameters such as 'type'. 55 - 57

net/sf/bluecove/TestResponderCommon.java

Violation Line
Avoid empty catch blocks 126 - 127

net/sf/bluecove/TestResponderServer.java

Violation Line
Avoid empty catch blocks 160 - 161
Avoid empty if statements 380 - 383

net/sf/bluecove/TestResponderServerL2CAP.java

Violation Line
Avoid empty catch blocks 278 - 279

net/sf/bluecove/awt/ClientConnectionDialog.java

Violation Line
Avoid empty catch blocks 394 - 395
Avoid empty catch blocks 564 - 565

net/sf/bluecove/awt/ClientConnectionThread.java

Violation Line
Avoid empty catch blocks 297 - 298
Avoid empty catch blocks 316 - 317

net/sf/bluecove/awt/Main.java

Violation Line
Avoid empty catch blocks 653 - 654

net/sf/bluecove/awt/ObexClientConnectionDialog.java

Violation Line
Avoid empty catch blocks 212 - 213
Avoid empty catch blocks 251 - 252

net/sf/bluecove/awt/OkCancelDialog.java

Violation Line
Avoid empty catch blocks 89 - 90

net/sf/bluecove/se/BlueCoveSpecific.java

Violation Line
Avoid empty catch blocks 38 - 39
Avoid empty catch blocks 53 - 54

net/sf/bluecove/se/FileStorage.java

Violation Line
Avoid empty catch blocks 90 - 91
Avoid empty catch blocks 94 - 95
These nested if statements could be combined 114 - 116
Avoid empty catch blocks 158 - 160
Avoid empty catch blocks 166 - 168
Avoid empty catch blocks 192 - 193
Avoid empty catch blocks 196 - 197

net/sf/bluecove/se/JavaSECommon.java

Violation Line
Avoid empty catch blocks 127 - 128

net/sf/bluecove/se/RemoteDeviceManager.java

Violation Line
Avoid empty catch blocks 77 - 78

net/sf/bluecove/se/UIHelper.java

Violation Line
Avoid empty catch blocks 58 - 59

net/sf/bluecove/swing/Main.java

Violation Line
Avoid unused constructor parameters such as 'clientStop'. 88 - 268
Avoid unused constructor parameters such as 'stop'. 88 - 268
Avoid unused constructor parameters such as 'serverStart'. 88 - 268
Avoid unused constructor parameters such as 'serverStop'. 88 - 268
Avoid unused constructor parameters such as 'clientStart'. 88 - 268
Avoid unused constructor parameters such as 'tckStart'. 88 - 268
Avoid unused local variables such as 'serverStart'. 104
Avoid unused local variables such as 'serverStop'. 111
Avoid unused local variables such as 'clientStart'. 117
Avoid unused local variables such as 'clientStop'. 124
Avoid unused local variables such as 'tckStart'. 130
Avoid unused local variables such as 'stop'. 183
Avoid empty if statements 278 - 280

net/sf/bluecove/tests/L2TrafficGenerator.java

Violation Line
Avoid unused local variables such as 'sendTime'. 258

net/sf/bluecove/util/BooleanVar.java

Violation Line
Ensure you override both equals() and hashCode() 51
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 60

net/sf/bluecove/util/IntVar.java

Violation Line
Ensure you override both equals() and hashCode() 54

net/sf/bluecove/util/StorageRMS.java

Violation Line
Avoid empty catch blocks 82 - 84

net/sf/bluecove/util/StringVar.java

Violation Line
Ensure you override both equals() and hashCode() 46