PMD Results

The following document contains the results of PMD 6.0.1.

Files

de/tu_clausthal/in/bachelorproject2018/ticktacktoe/CApplication.java

Violation Line
Avoid unused imports such as 'org.springframework.web.bind.annotation.ModelAttribute' 6
Avoid unused imports such as 'org.springframework.web.bind.annotation.RequestMapping' 7
Avoid unused imports such as 'org.springframework.web.bind.annotation.RequestMethod' 8

de/tu_clausthal/in/bachelorproject2018/ticktacktoe/controller/CSpielebrettController.java

Violation Line
Avoid unused imports such as 'org.apache.commons.lang.math.RandomUtils.nextInt' 15

de/tu_clausthal/in/bachelorproject2018/ticktacktoe/model/ESpiele.java

Violation Line
Avoid unused imports such as 'org.apache.commons.lang.math.RandomUtils.nextInt' 14

de/tu_clausthal/in/bachelorproject2018/ticktacktoe/model/brett/CSpielbrett.java

Violation Line
Avoid unused imports such as 'de.tu_clausthal.in.bachelorproject2018.ticktacktoe.model.ESpiele' 4
Avoid unused local variables such as 'won'. 182

de/tu_clausthal/in/bachelorproject2018/ticktacktoe/model/item/CItem.java

Violation Line
Avoid modifiers which are implied by the context 48–51
Avoid modifiers which are implied by the context 54–57

de/tu_clausthal/in/bachelorproject2018/ticktacktoe/model/player/CHuman.java

Violation Line
Avoid unused imports such as 'de.tu_clausthal.in.bachelorproject2018.ticktacktoe.model.item.IItem' 5

de/tu_clausthal/in/bachelorproject2018/ticktacktoe/model/player/CMinMaxBot.java

Violation Line
Useless parentheses. 58
Useless parentheses. 58
Useless parentheses. 62–63
Useless parentheses. 62
Useless parentheses. 63
Useless parentheses. 71
Useless parentheses. 71
Useless parentheses. 75
Useless parentheses. 76
These nested if statements could be combined 117
These nested if statements could be combined 119