]> 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 * [[Example] Additional supporting material](http://lwn.net/Articles/385586/)
22
23 Presentation
24 ==========
25
26 * [[Presentation of the aim of my work in PDF or OpenDocument format (upload it as an *Attachment* to this page)|prezentace1.pdf]]
27 <a href="https://drive.google.com/file/d/0BwkDPDyXPNukbTBlancxUnlvQWs/view?usp=sharing" >Presentation 1</a>
28 * [[Presentation of the results of my work|prezentace2.pdf]]
29
30 OpenHub
31 =======
32
33 Here, I'll fill in the HTML code of the [OpenHub widget][w] showing my KudoRank.
34
35 For example:
36 <a href='https://www.openhub.net/accounts/9897?ref=Detailed' target='_blank'>
37 <img alt='Ohloh profile for wentasah' border='0' height='35' src='https://www.openhub.net/accounts/9897/widgets/account_detailed.gif' width='230' />
38 </a>
39
40 [w]:https://www.openhub.net/accounts/musilto5/widgets
41
42
43 [[prez1.pdf]]