Code Review Protocol 15.09.2022¶
fairly good structure, documentation is mostly missing
Hints E-Mail for the Code Review¶
It would have been good to have mentioned starting points for where to start reading a repository
The architecture overview would have been nice to get a quick overview
Documentation¶
Is often missing
The architecture overview is missing
Link to the docs is missing in the repos and their READMEs
dev-manuals/<architecture>should also contain component diagrams or similarStructure of
READMEs: First for users (what is it? What does it do? How do I start it?), then for developers (How is it structured?)
Overworld Backend¶
2-space formatting not good
Inline comments mean code is bad and should be refactored into submethods
Use only
UUIDs instead ofints as IDPlayerStatisticService: noinstanceof, line168: Magic numberMinigameTask: overloaded constructor withOptionalinstead ofnull
Chickenshock Backend¶
Way too few documentation (i.e. in
DTOs that could be used by clients to generate their own models)Preconditions were not checked
READMEdoesn’t tell what it is and is only technicalGameResultService#saveGameResult- still uses hardcoded course- and player IDsJWTValidatorService: indentantion is invalid, style errors such as missingfinals,get-should be a query, not a command,publicmethods forprivatemethods
General positive feedback¶
Lombokusage - omits language specificaSlf4jusage - omitsSystem.out.println()