PMD Results

The following document contains the results of PMD.

Summary

Files Errors
7 13

Files

Files Violations
java/pl/agh/iosr/ballamigos/webapp/actions/NewGameAction.java 1
java/pl/agh/iosr/ballamigos/webapp/actions/PlayAction.java 1
java/pl/agh/iosr/ballamigos/webapp/actions/SubmitPlayerInfoAction.java 1
java/pl/agh/iosr/ballamigos/webapp/core/WebApplicationCommunicator.java 6
java/pl/agh/iosr/ballamigos/webapp/jscommunication/LoadArenaServlet.java 1
java/pl/agh/iosr/ballamigos/webapp/jscommunication/MakeDecisionServlet.java 1
java/pl/agh/iosr/ballamigos/webapp/jscommunication/NewArenaServlet.java 2

java/pl/agh/iosr/ballamigos/webapp/actions/NewGameAction.java

Violation Line
Avoid unused imports such as 'org.apache.struts.action.Action' 6

java/pl/agh/iosr/ballamigos/webapp/actions/PlayAction.java

Violation Line
Avoid unused imports such as 'org.apache.struts.action.Action' 6

java/pl/agh/iosr/ballamigos/webapp/actions/SubmitPlayerInfoAction.java

Violation Line
Avoid unused imports such as 'org.apache.struts.action.Action' 6

java/pl/agh/iosr/ballamigos/webapp/core/WebApplicationCommunicator.java

Violation Line
Avoid unused private fields such as 'playerPassword' 38
Avoid unused private fields such as 'roomNames' 52
Avoid empty catch blocks 99
Avoid unnecessary return statements 147
Avoid unnecessary return statements 155
Avoid unnecessary return statements 163

java/pl/agh/iosr/ballamigos/webapp/jscommunication/LoadArenaServlet.java

Violation Line
Avoid unused private fields such as 'context' 24

java/pl/agh/iosr/ballamigos/webapp/jscommunication/MakeDecisionServlet.java

Violation Line
Avoid unused private fields such as 'context' 26

java/pl/agh/iosr/ballamigos/webapp/jscommunication/NewArenaServlet.java

Violation Line
Avoid unused private fields such as 'context' 26
Avoid unnecessary return statements 193