PMD Results

The following document contains the results of PMD 4.2.5.

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/TestResponderClient.java

Violation Line
Avoid unused imports such as 'net.sf.bluecove.se.JavaSECommon' 45

net/sf/bluecove/TestResponderCommon.java

Violation Line
Avoid empty catch blocks 95 - 96

net/sf/bluecove/TestResponderServer.java

Violation Line
Avoid unused imports such as 'net.sf.bluecove.se.JavaSECommon' 52
Avoid empty catch blocks 164 - 165
Avoid empty if statements 384 - 387

net/sf/bluecove/TestResponderServerL2CAP.java

Violation Line
Avoid empty catch blocks 278 - 279

net/sf/bluecove/awt/ClientConnectionDialog.java

Violation Line
An empty statement (semicolon) not part of a loop 362
Avoid empty catch blocks 426 - 427
Avoid empty catch blocks 607 - 608

net/sf/bluecove/awt/ClientConnectionThread.java

Violation Line
Avoid empty catch blocks 242 - 243
Avoid empty catch blocks 315 - 316
Avoid empty catch blocks 334 - 335

net/sf/bluecove/awt/Main.java

Violation Line
Avoid empty catch blocks 685 - 686

net/sf/bluecove/awt/ObexClientConnectionDialog.java

Violation Line
Avoid empty catch blocks 217 - 218
Avoid empty catch blocks 256 - 257

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 130 - 131

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 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