PMD Results
The following document contains the results of PMD 6.0.1.
Files
de/tu_clausthal/in/bachelorproject2018/poker/CApplication.java
Violation |
Line |
Avoid modifiers which are implied by the context |
76–79 |
de/tu_clausthal/in/bachelorproject2018/poker/game/action/CRaise.java
Violation |
Line |
Avoid unused private fields such as 'player'. |
29 |
Avoid unused private fields such as 'table'. |
31 |
Useless parentheses. |
42 |
Useless parentheses. |
42 |
Useless parentheses. |
42 |
de/tu_clausthal/in/bachelorproject2018/poker/game/hubs/CardDealer.java
Violation |
Line |
Avoid unused private fields such as 'gameHub'. |
10 |
de/tu_clausthal/in/bachelorproject2018/poker/game/hubs/ChipsHandling.java
Violation |
Line |
Useless parentheses. |
56 |
de/tu_clausthal/in/bachelorproject2018/poker/game/hubs/GameHub.java
Violation |
Line |
Avoid unused imports such as 'de.tu_clausthal.in.bachelorproject2018.poker.game.player.CPlayer' |
3 |
Avoid unused imports such as 'de.tu_clausthal.in.bachelorproject2018.poker.game.wincheck.EWinCheck' |
7 |
Avoid unused imports such as 'de.tu_clausthal.in.bachelorproject2018.poker.game.wincheck.HandStatistic' |
8 |
Avoid unused imports such as 'java.util.Arrays' |
13 |
de/tu_clausthal/in/bachelorproject2018/poker/game/round/CBetRound.java
Violation |
Line |
Useless parentheses. |
50 |
Useless parentheses. |
51 |
Useless parentheses. |
86 |
Useless parentheses. |
87 |
Useless parentheses. |
119 |
Useless parentheses. |
120 |
de/tu_clausthal/in/bachelorproject2018/poker/game/table/CTable.java
Violation |
Line |
Avoid unused private fields such as 'm_eventPublisher'. |
63 |
de/tu_clausthal/in/bachelorproject2018/poker/game/wincheck/CFlush.java
Violation |
Line |
These nested if statements could be combined |
108–114 |
de/tu_clausthal/in/bachelorproject2018/poker/game/wincheck/EWinCheck.java
Violation |
Line |
Avoid unused imports such as 'javax.annotation.Nonnull' |
5 |
Avoid unused imports such as 'java.util.function.Supplier' |
8 |
de/tu_clausthal/in/bachelorproject2018/poker/game/wincheck/HandStatistic.java
Violation |
Line |
Avoid unused private fields such as 'flushSuit'. |
13 |
de/tu_clausthal/in/bachelorproject2018/poker/network/config/WebSocketConfig.java
Violation |
Line |
Avoid unused imports such as 'java.util.stream.Stream' |
9 |
de/tu_clausthal/in/bachelorproject2018/poker/network/gamestate/EGamestateManagement.java
Violation |
Line |
Avoid empty if statements |
29 |
de/tu_clausthal/in/bachelorproject2018/poker/network/gamestate/messages/CGameMessage.java
Violation |
Line |
Avoid unused imports such as 'de.tu_clausthal.in.bachelorproject2018.poker.network.objects.CMessageEvent' |
5 |
de/tu_clausthal/in/bachelorproject2018/poker/network/objects/CCardJson.java
Violation |
Line |
Avoid unused private fields such as 'm_card'. |
9 |
Avoid unused private fields such as 'm_destination'. |
11 |
Avoid unused private fields such as 'm_type'. |
13 |
de/tu_clausthal/in/bachelorproject2018/poker/network/objects/CErrorJson.java
Violation |
Line |
Avoid unused private fields such as 'm_error'. |
8 |
de/tu_clausthal/in/bachelorproject2018/poker/network/objects/CNotifyJson.java
Violation |
Line |
Avoid unused private fields such as 'm_text'. |
8 |
de/tu_clausthal/in/bachelorproject2018/poker/network/websocket/CMessage.java
Violation |
Line |
Avoid modifiers which are implied by the context |
46–60 |
de/tu_clausthal/in/bachelorproject2018/poker/network/websocket/CNotificationService.java
Violation |
Line |
Avoid unused imports such as 'com.fasterxml.jackson.databind.ObjectMapper' |
3 |
Avoid unused imports such as 'java.io.IOException' |
15 |