Stubs Grading Sheet
Name ___________________ Points Earned (out of 30) _______
MethodName |
Points |
Max possible |
Points Earned |
pseudoWar |
4 |
description author date lab2 /section |
|
startGame |
3 |
header “java docs” internal comments appropriate return value OR not (version) |
|
playGame |
3 |
header “java docs” internal comments |
|
pseudoWar constructor |
1 |
|
|
generateNumber |
4 |
header “java docs” internal comments appropriate return value |
|
determineWinner |
4 |
header “java docs” internal comments appropriate return value |
|
runRound |
4 |
Header “java docs” internal comments appropriate return value |
|
getFinalResult |
4 |
Header “java docs” internal comments appropriate return value |
|
class attributes |
3 |
player1_name, player2_name rounds player1 score, player2_score |
|
Deductions:
-
2 for actual code instead of internal
documentation
-
30 if it doesn’t compile (i.e. – no points
for this part if it doesn’t compile)
-
1 if attributes of class aren’t private
-
1 if visibility modifiers aren’t specified
for each method
-
1 for omitting 1 or more @param
-
1 for omitting 1 or more @return
-
1 for vagueness in description for “java
docs”
-
2 for no comments in methods
-
5 for changing structure (e.g. having a
Player class instead of a PseudoWar class)
-
3 for having all methods static