PMD Results

The following document contains the results of PMD 3.9.

Files

BluetoothTCKAgent/DiscoveryListenerImpl.java

Violation Line
Avoid importing anything from the package 'java.lang' 42
These nested if statements could be combined 94 - 97

BluetoothTCKAgent/GOEPThread.java

Violation Line
No need to import a type that lives in the same package 34
Avoid empty catch blocks 89 - 90
Avoid unnecessary return statements 133

BluetoothTCKAgent/L2CAPThread.java

Violation Line
Avoid unused imports such as 'javax.bluetooth.ServiceRegistrationException' 37
No need to import a type that lives in the same package 39
Avoid empty catch blocks 237 - 238
Avoid empty catch blocks 271 - 272
Avoid empty catch blocks 414 - 415

BluetoothTCKAgent/PushBTConnectionThread.java

Violation Line
Avoid empty catch blocks 122 - 123
Avoid empty catch blocks 268 - 269
Avoid empty catch blocks 539 - 540
Avoid empty catch blocks 617 - 618

BluetoothTCKAgent/RFCOMMThread.java

Violation Line
No need to import a type that lives in the same package 34

BluetoothTCKAgent/TCKAgentUtil.java

Violation Line
Avoid empty catch blocks 52 - 53
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 63
Avoid unused local variables such as 'result'. 110
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 129
Avoid unused local variables such as 'transID'. 168
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 172

OBEXTCKAgent/OBEXTCKAgentApp.java

Violation Line
Avoid empty catch blocks 339 - 340
These nested if statements could be combined 367 - 369
These nested if statements could be combined 373 - 375
These nested if statements could be combined 379 - 381
These nested if statements could be combined 385 - 387
Avoid empty catch blocks 427 - 428
These nested if statements could be combined 431 - 433
Avoid unnecessary return statements 439
Avoid empty catch blocks 460 - 461
Avoid returning from a finally block 861
Avoid empty catch blocks 884 - 885