[[!meta title="Musílek Tomáš"]] **Project name and homepage:** [AnkiDroid](https://github.com/ankidroid/Anki-Android/wiki) 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](https://github.com/ankidroid/Anki-Android/pull/4114#issuecomment-193007461) * [[Example] Version control repository with the actual state of my work](http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=summary) * [My commit in the project repository](https://github.com/ankidroid/Anki-Android/commit/45803c034e2979eff6a0746e48bb6e05130e9939) * [[Example] Additional supporting material](http://lwn.net/Articles/385586/) Presentation ========== * [[Presentation of the aim of my work in PDF or OpenDocument format (upload it as an *Attachment* to this page)|prezentace1.pdf]] * [[Presentation of the results of my work|prezentace2.pdf]] OpenHub ======= Here, I'll fill in the HTML code of the [OpenHub widget][w] showing my KudoRank. For example: Ohloh profile for wentasah [w]:https://www.openhub.net/accounts/musilto5/widgets