PMD Results

The following document contains the results of PMD

Files

edu/nwu/util/bll/ServiceExitEntry.java

ViolationLine
Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.98

edu/nwu/util/bll/ServiceDirectory.java

ViolationLine
Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.48
Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.49

edu/nwu/util/bll/CleanUpTask.java

ViolationLine
An empty statement (semicolon) not part of a loop95

edu/nwu/util/bll/ServiceRunningEntry.java

ViolationLine
Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.85

edu/nwu/util/bll/TimerFactory.java

ViolationLine
Avoid unused private fields such as 'instance'32

edu/nwu/util/bll/Service.java

ViolationLine
An empty statement (semicolon) not part of a loop185
An empty statement (semicolon) not part of a loop218
An empty statement (semicolon) not part of a loop243
An empty statement (semicolon) not part of a loop270

edu/nwu/util/bll/GenericObserver.java

ViolationLine
Avoid unused private fields such as 'name'40

edu/nwu/time/bll/TimeSyncClient.java

ViolationLine
An empty statement (semicolon) not part of a loop136

edu/nwu/time/wfl/TimeSyncClient.java

ViolationLine
Avoid unused private fields such as 'warmup'54

edu/nwu/haurvatat/bll/MeasurementManager.java

ViolationLine
Avoid unused private fields such as 'dir'52

edu/nwu/net/bll/LowPriorityWindowBasedSendQueue.java

ViolationLine
Avoid empty if statements263

edu/nwu/net/bll/SendQueue.java

ViolationLine
An empty statement (semicolon) not part of a loop382

edu/nwu/net/bll/ServerSocket.java

ViolationLine
Avoid unused private methods such as 'sendPkt(int,ReplyPacket,int)'497
Avoid unused private methods such as 'sendPkt(int,RequestPacket,int)'522
An empty statement (semicolon) not part of a loop653

edu/nwu/net/bll/ReliableConnection.java

ViolationLine
Avoid unused private fields such as 'maxNReXmt'78
These nested if statements could be combined269

edu/nwu/net/bll/UnreliableConnection.java

ViolationLine
Avoid unused private fields such as 'maxNReXmt'57

edu/nwu/net/bll/WindowBasedSendQueue.java

ViolationLine
Avoid unused local variables such as 'iter'339
An empty statement (semicolon) not part of a loop595
An empty statement (semicolon) not part of a loop606

edu/nwu/net/bll/NetworkInfo.java

ViolationLine
Avoid unused private methods such as 'weight(int)'173

edu/nwu/net/bll/DatagramSocket.java

ViolationLine
Avoid unused private methods such as 'sendPkt(int,ReplyPacket,int)'450
Avoid unused private methods such as 'sendPkt(int,RequestPacket,int)'482
An empty statement (semicolon) not part of a loop660
An empty statement (semicolon) not part of a loop1113

edu/nwu/net/bll/RateLimitedSocket.java

ViolationLine
An empty statement (semicolon) not part of a loop289

edu/nwu/net/wfl/BenchmarkSysCall.java

ViolationLine
An empty statement (semicolon) not part of a loop230

edu/nwu/net/wfl/SocketTest.java

ViolationLine
Avoid unused private fields such as 'success'191
Avoid unused private fields such as 'success'263

edu/nwu/net/wfl/ReceiveQueue.java

ViolationLine
An empty statement (semicolon) not part of a loop139
An empty statement (semicolon) not part of a loop180

edu/nwu/net/wfl/BenchmarkClient.java

ViolationLine
An empty statement (semicolon) not part of a loop158
An empty statement (semicolon) not part of a loop187

edu/nwu/net/wfl/PacketSocket.java

ViolationLine
Avoid unused private fields such as 'rxT'82

edu/nwu/net/wfl/BenchmarkServer.java

ViolationLine
Avoid unused private fields such as 'udpSock'49
Avoid unused private fields such as 'tcpSock'52

edu/nwu/net/dll/FieldEncoder.java

ViolationLine
Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.110
Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.130

edu/nwu/heimdall/bll/PacketHandler.java

ViolationLine
Avoid unused private methods such as 'handle(Server.Request,ClearDirectoryPacket)'122
Avoid unused private methods such as 'handle(Server.Request,DirectorySizePacket)'149
Avoid unused private methods such as 'handle(Server.Request,QueryKeyPacket)'176
Avoid unused private methods such as 'handle(Server.Request,QueryListPacket)'217

edu/nwu/reflect/dll/Type.java

ViolationLine
Ensure you override both equals() and hashCode()124

edu/nwu/reflect/dll/NullType.java

ViolationLine
Avoid unused private fields such as 'logger'31

edu/nwu/reflect/dll/BooleanType.java

ViolationLine
Avoid instantiating Boolean objects; you can usually invoke Boolean.TRUE instead.51