]> rtime.felk.cvut.cz Git - edu/osp-wiki.git/blob - student/musilto5/index.mdwn
(no commit message)
[edu/osp-wiki.git] / student / musilto5 / index.mdwn
1 [[!meta title="Musílek Tomáš"]]
2
3 **Project name and homepage:** [AnkiDroid](https://github.com/ankidroid/Anki-Android/wiki)
4
5 Assignment
6 ======
7
8 I read the code of generating statistics. There were some bad programming practise used. So I decided to do some refactoring:
9 There is int variable called mType which can have only three values. I decided to create enum called AxisType and replace type of mType.
10 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.
11
12 Links documenting the results of my work
13 ======
14
15 Here, I'll add links similar to the examples below and describe what
16 is being linked.
17
18 * [My communication with developers in a github](https://github.com/ankidroid/Anki-Android/pull/4114#issuecomment-193007461)
19 * [Version control repository with the actual state of my work - commit: 6d0a687fd84d8b3af6ad4b2e1a7001e4e7f5e882](https://github.com/ankidroid/Anki-Android)
20 * [My commit in the project repository](https://github.com/ankidroid/Anki-Android/commit/45803c034e2979eff6a0746e48bb6e05130e9939)
21
22 Presentation
23 ==========
24
25 * [[prezentace1.pdf]]
26 * [[prezentace2.pdf]]
27
28 OpenHub
29 =======
30
31 Here, I'll fill in the HTML code of the [OpenHub widget][w] showing my KudoRank.
32
33 <a target="_blank" href="https://www.openhub.net/accounts/musilto5?ref=sample"><img alt='Open Hub profile for musilto5' border='0' height='35' src='https://www.openhub.net/accounts/musilto5/widgets/account_detailed?format=gif&amp;ref=sample' width='230'>
34 </a>
35
36 [w]:https://www.openhub.net/accounts/musilto5/widgets
37