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.
- My communication with developers in a github
- Version control repository with the actual state of my work - commit: 6d0a687fd84d8b3af6ad4b2e1a7001e4e7f5e882
- My commit in the project repository
Presentation
OpenHub
Here, I’ll fill in the HTML code of the OpenHub widget showing my KudoRank.