Project name and homepage: AnkiDroid

Assignment

I read the code of generating statistics. There were some bad programming practise used. So I decided to do some refactoring: There is int variable called mType which can have only three values. I decided to create enum called AxisType and replace type of mType. There is method calculateDone in Stats.java. Second method variable is boolean. The function of boolean is not described in javadoc. I decided replace boolean by Chartype and make the method private. Then two public methods will be created: calculateReviewCount and calculateReviewTime. This two new methods will use method calculateDone.

Links documenting the results of my work

Here, I’ll add links similar to the examples below and describe what is being linked.

Presentation

OpenHub

Here, I’ll fill in the HTML code of the OpenHub widget showing my KudoRank.

Open Hub profile for musilto5