Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.8.6

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
5 6 0 1

Files

Class Bugs
de.aikiit.game.kaiser.KaiserActions 5
de.aikiit.game.kaiser.KaiserEnginePrinter 1

de.aikiit.game.kaiser.KaiserActions

Bug Category Details Line Priority
Found reliance on default encoding in de.aikiit.game.kaiser.KaiserActions.buy(KaiserEngine): new java.util.Scanner(InputStream) I18N DM_DEFAULT_ENCODING 22 High
Found reliance on default encoding in de.aikiit.game.kaiser.KaiserActions.cultivate(KaiserEngine): new java.util.Scanner(InputStream) I18N DM_DEFAULT_ENCODING 93 High
Found reliance on default encoding in de.aikiit.game.kaiser.KaiserActions.feed(KaiserEngine): new java.util.Scanner(InputStream) I18N DM_DEFAULT_ENCODING 69 High
Found reliance on default encoding in de.aikiit.game.kaiser.KaiserActions.sell(KaiserEngine): new java.util.Scanner(InputStream) I18N DM_DEFAULT_ENCODING 45 High
Switch statement found in de.aikiit.game.kaiser.KaiserActions.cultivate(KaiserEngine) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 102-108 Medium

de.aikiit.game.kaiser.KaiserEnginePrinter

Bug Category Details Line Priority
new de.aikiit.game.kaiser.KaiserEnginePrinter(KaiserEngine) may expose internal representation by storing an externally mutable object into KaiserEnginePrinter.engine MALICIOUS_CODE EI_EXPOSE_REP2 32 Medium