SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.10.5
Threshold is medium
Effort is default
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 9 |
6 |
0 |
0 |
de.aikiit.game.kaiser.KaiserEngine
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class de.aikiit.game.kaiser.KaiserEngine at new de.aikiit.game.kaiser.KaiserEngine() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
88 |
Medium |
| Exception thrown in class de.aikiit.game.kaiser.KaiserEngine at new de.aikiit.game.kaiser.KaiserEngine(Random) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
100 |
Medium |
de.aikiit.game.kaiser.KaiserEnginePrinter
| Bug |
Category |
Details |
Line |
Priority |
| java/lang/StringBuilder.append(Ljava/lang/String;)Ljava/lang/StringBuilder; is potentially injected into an XML string in method de.aikiit.game.kaiser.KaiserEnginePrinter.evaluateRegency(). |
SECURITY |
POTENTIAL_XML_INJECTION |
113 |
Medium |
de.aikiit.game.kaiser.KaiserGame
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class de.aikiit.game.kaiser.KaiserGame at new de.aikiit.game.kaiser.KaiserGame() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
30 |
Medium |
| Exception thrown in class de.aikiit.game.kaiser.KaiserGame at new de.aikiit.game.kaiser.KaiserGame(KaiserEngine, Scanner) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
38 |
Medium |
| Found reliance on default encoding in new de.aikiit.game.kaiser.KaiserGame(): new java.util.Scanner(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
30 |
High |