PMD Results

The following document contains the results of PMD

Files

edu/nwu/nemo/bll/AgentMgr.java

ViolationLine
Avoid unused private fields such as 'logger'46

edu/nwu/nemo/bll/RpCallback.java

ViolationLine
Avoid unused private methods such as 'debug(String)'62

edu/nwu/nemo/bll/MemberMgr.java

ViolationLine
Avoid unused private fields such as 'logger'41

edu/nwu/nemo/bll/AgentCallback.java

ViolationLine
Avoid unused private methods such as 'debug(String)'281

edu/nwu/nemo/bll/NemoBootstrapService.java

ViolationLine
Avoid unused private fields such as 'logger'48

edu/nwu/nemo/bll/CostCacheMgr.java

ViolationLine
Avoid unused private fields such as 'logger'41

edu/nwu/nemo/bll/AlternateMgr.java

ViolationLine
Avoid unused private fields such as 'logger'42

edu/nwu/nemo/bll/SortedDistance.java

ViolationLine
Avoid unused private fields such as 'logger'35

edu/nwu/nemo/bll/PrmMulticastCallback.java

ViolationLine
Avoid unused private methods such as 'debug(String)'60

edu/nwu/nemo/bll/AgentTasks.java

ViolationLine
Avoid unused formal parameters such as 'layer'294
These nested if statements could be combined710

edu/nwu/nemo/bll/NemoService.java

ViolationLine
Avoid unused private fields such as 'session'303

edu/nwu/nemo/bll/PrmMulticastAgent.java

ViolationLine
Avoid unused private fields such as 'loggerConfig'62
Avoid unused private fields such as 'callback'77

edu/nwu/nemo/bll/BandwidthCostInfo.java

ViolationLine
Avoid unused formal parameters such as 'agent'94

edu/nwu/nemo/bll/MulticastCallback.java

ViolationLine
Avoid unused private methods such as 'debug(String)'63

edu/nwu/nemo/bll/Rp.java

ViolationLine
These nested if statements could be combined206
Avoid unused private methods such as 'fatal(String,Throwable)'287

edu/nwu/nemo/bll/LatencyCostInfo.java

ViolationLine
Avoid unused private fields such as 'lastLatencyUpdate'79

edu/nwu/nemo/bll/BandwidthCostManager.java

ViolationLine
Avoid unused private fields such as 'config'80

edu/nwu/nemo/bll/CostOracle.java

ViolationLine
Avoid unused private fields such as 'config'42
Avoid unused private fields such as 'sock'45
Avoid unused private fields such as 'tsmpFactory'51
Avoid unused private methods such as 'error(String,Throwable)'197

edu/nwu/nemo/bll/MulticastAgent.java

ViolationLine
Avoid unused private methods such as 'getPriority(int)'176
Avoid unused formal parameters such as 'dest'841
Avoid empty if statements916
These nested if statements could be combined966
Avoid unused private methods such as 'getMaxCrewDist()'1134
Avoid unused private methods such as 'getMaxNeighborDist()'1152
Avoid unused private methods such as 'error(String)'1247
Avoid unused private fields such as 'vdest'1360
These nested if statements could be combined1478

edu/nwu/nemo/bll/StreamCostOracle.java

ViolationLine
Avoid unused private methods such as 'debug(String)'138
Avoid unused private methods such as 'error(String,Throwable)'149

edu/nwu/nemo/core/EForwardType.java

ViolationLine
These nested if statements could be combined82

edu/nwu/nemo/core/OverlayInfo.java

ViolationLine
Avoid unused private fields such as 'logger'35
Avoid unused private methods such as 'encode()'91

edu/nwu/nemo/examples/MulticastAgent.java

ViolationLine
Avoid unused imports such as 'java.util.logging.Level'49

edu/nwu/nemo/wfl/Benchmark.java

ViolationLine
Avoid unused private methods such as 'debug(String)'220
Avoid unused private methods such as 'fatal(String,Throwable)'252
An empty statement (semicolon) not part of a loop373
An empty statement (semicolon) not part of a loop419
An empty statement (semicolon) not part of a loop438

edu/nwu/nemo/dll/QueryRpPacket.java

ViolationLine
Overriding method merely calls super53
Overriding method merely calls super64

edu/nwu/nemo/dll/MulticastPacketHandler.java

ViolationLine
An empty statement (semicolon) not part of a loop191
Avoid unused private methods such as 'handle(AlternatePacket)'223
Avoid unused private methods such as 'handle(DataPacket)'239
Avoid unused private methods such as 'handle(ElectNewLeaderPacket)'259
Avoid unused private methods such as 'handle(ForwardRequestPacket)'274
Avoid unused private methods such as 'handle(HeartbeatPacket)'290
Avoid unused private methods such as 'handle(JoinPacket)'308
Avoid unused private methods such as 'handle(JoinRedirectPacket)'323
Avoid unused private methods such as 'handle(LeavePacket)'339
Avoid unused private methods such as 'handle(NeighborPacket)'354
Avoid unused private methods such as 'handle(NewLeaderPacket)'370
Avoid unused private methods such as 'handle(OverlayInfoPacket)'384
Avoid unused private methods such as 'handle(QueryPacket)'399
Avoid unused private methods such as 'handle(QueryResponsePacket)'414
Avoid unused private methods such as 'handle(QueryRpResponsePacket)'430
Avoid unused private methods such as 'handle(SuperClusterPacket)'445

edu/nwu/nemo/dll/StreamMulticastPacketHandler.java

ViolationLine
An empty statement (semicolon) not part of a loop189
Avoid unused private methods such as 'handle(AlternatePacket)'220
Avoid unused private methods such as 'handle(DataPacket)'236
Avoid unused private methods such as 'handle(ElectNewLeaderPacket)'256
Avoid unused private methods such as 'handle(ForwardRequestPacket)'271
Avoid unused private methods such as 'handle(HeartbeatPacket)'287
Avoid unused private methods such as 'handle(JoinPacket)'305
Avoid unused private methods such as 'handle(LeavePacket)'336
Avoid unused private methods such as 'handle(NeighborPacket)'351
Avoid unused private methods such as 'handle(NewLeaderPacket)'367
Avoid unused private methods such as 'handle(OverlayInfoPacket)'381
Avoid unused private methods such as 'handle(QueryPacket)'396
Avoid unused private methods such as 'handle(QueryResponsePacket)'411
Avoid unused private methods such as 'handle(QueryRpResponsePacket)'427
Avoid unused private methods such as 'handle(SuperClusterPacket)'442
Avoid unused private methods such as 'handle(TransferLeaderPacket)'458
Avoid unused private methods such as 'handle(PrmRequestPacket)'475
Avoid unused private methods such as 'handle(PrmReplyPacket)'490

edu/nwu/nemo/dll/Packet.java

ViolationLine
Avoid unused private fields such as 'VERSION'37

edu/nwu/nemo/dll/PrmMulticastPacketHandler.java

ViolationLine
Avoid unused private methods such as 'handle(PrmRequestPacket)'132

edu/nwu/nemo/dll/RpPacketHandler.java

ViolationLine
Avoid unused private methods such as 'handle(NewLeaderPacket)'122
Avoid unused private methods such as 'handle(QueryRpPacket)'137