PMD Results

The following document contains the results of PMD.

Summary

Files Errors
6 20

Files

Files Violations
BallAmigosRunner.java 1
pl/agh/iosr/ballamigos/client/communication/rmi/ClientCommunicator.java 1
pl/agh/iosr/ballamigos/server/MatchCounter.java 14
pl/agh/iosr/ballamigos/server/Room.java 2
pl/agh/iosr/ballamigos/server/database/DatabaseController.java 1
pl/agh/iosr/ballamigos/server/GameServerTest.java 1

BallAmigosRunner.java

Violation Line
Avoid importing anything from the package 'java.lang' 2

pl/agh/iosr/ballamigos/client/communication/rmi/ClientCommunicator.java

Violation Line
Avoid empty catch blocks 121

pl/agh/iosr/ballamigos/server/MatchCounter.java

Violation Line
These nested if statements could be combined 276
These nested if statements could be combined 331
These nested if statements could be combined 349
These nested if statements could be combined 376
An empty statement (semicolon) not part of a loop 468
An empty statement (semicolon) not part of a loop 502
An empty statement (semicolon) not part of a loop 512
An empty statement (semicolon) not part of a loop 583
An empty statement (semicolon) not part of a loop 616
An empty statement (semicolon) not part of a loop 626
An empty statement (semicolon) not part of a loop 676
An empty statement (semicolon) not part of a loop 695
An empty statement (semicolon) not part of a loop 730
An empty statement (semicolon) not part of a loop 741

pl/agh/iosr/ballamigos/server/Room.java

Violation Line
Avoid empty 'if' statements 56
Avoid empty 'if' statements 102

pl/agh/iosr/ballamigos/server/database/DatabaseController.java

Violation Line
This for loop could be simplified to a while loop 295

pl/agh/iosr/ballamigos/server/GameServerTest.java

Violation Line
Avoid empty catch blocks 47