PMD Results
The following document contains the results of PMD
Files
edu/nwu/freepastry/dll/ProbePacket.java
| Violation | Line |
|---|
| Overriding method merely calls super | 62 |
| Overriding method merely calls super | 73 |
edu/nwu/freepastry/dll/FreePastryPacket.java
| Violation | Line |
|---|
| Avoid unused private fields such as 'VERSION' | 37 |
edu/nwu/freepastry/dll/MessagePacket.java
| Violation | Line |
|---|
| Avoid empty catch blocks | 88 |
edu/nwu/freepastry/bll/LookupProtocol.java
| Violation | Line |
|---|
| Avoid unused private methods such as 'handle(DHTPongMessage)' | 333 |
| An empty statement (semicolon) not part of a loop | 359 |
edu/nwu/freepastry/bll/Configuration.java
| Violation | Line |
|---|
| Avoid unused private fields such as 'loggerConf' | 41 |
edu/nwu/freepastry/bll/FreePastryNodeHandle.java
| Violation | Line |
|---|
| Avoid unused private fields such as 'epoch' | 57 |
| These nested if statements could be combined | 233 |
edu/nwu/freepastry/bll/FreePastryNode.java
| Violation | Line |
|---|
| Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead. | 132 |
| An empty statement (semicolon) not part of a loop | 266 |
| Overriding method merely calls super | 306 |
edu/nwu/pastry/bll/JoinProtocol.java
| Violation | Line |
|---|
| These nested if statements could be combined | 120 |
| Avoid unused private methods such as 'handle(JoinAnnounce)' | 503 |
| Avoid unused local variables such as 'routing' | 505 |
edu/nwu/pastry/bll/FailureDetectionProtocol.java
| Violation | Line |
|---|
| These nested if statements could be combined | 115 |
edu/nwu/pastry/bll/LookupProtocol.java
| Violation | Line |
|---|
| These nested if statements could be combined | 172 |
| Avoid unused private methods such as 'handle(Ping)' | 287 |
edu/nwu/pastry/bll/RoutingTable.java
| Violation | Line |
|---|
| Avoid unused private fields such as 'logger' | 41 |
edu/nwu/pastry/bll/MaintenanceProtocol.java
| Violation | Line |
|---|
| Avoid unused private methods such as 'handle(LeafSetRequest)' | 446 |
| Avoid unused private methods such as 'handle(LeafSetReply)' | 472 |
| Avoid unused private methods such as 'handle(QueryRequest)' | 489 |
edu/nwu/pastry/bll/Routing.java
| Violation | Line |
|---|
| Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead. | 322 |
edu/nwu/pastry/bll/LeafSet.java
| Violation | Line |
|---|
| These nested if statements could be combined | 180 |
edu/nwu/bamboo/bll/BambooJoinProtocol.java
| Violation | Line |
|---|
| Avoid unused local variables such as 'nullId' | 102 |