mdarby (owner)

Revisions

gist: 168839 Download_button fork
public
Public Clone URL: git://gist.github.com/168839.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Before:
 
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 5354 | 4064 | 74 | 466 | 6 | 6 |
| Helpers | 1534 | 1206 | 0 | 121 | 0 | 7 |
| Models | 9778 | 5168 | 117 | 934 | 7 | 3 |
| Libraries | 209 | 116 | 1 | 16 | 16 | 5 |
| Model specs | 11301 | 8770 | 0 | 5 | 0 | 1752 |
| View specs | 19340 | 14929 | 0 | 295 | 0 | 48 |
| Controller specs | 5760 | 4356 | 0 | 73 | 0 | 57 |
| Helper specs | 2098 | 1488 | 0 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 55374 | 40097 | 192 | 1910 | 9 | 18 |
+----------------------+-------+-------+---------+---------+-----+-------+
  Code LOC: 10554 Test LOC: 29543 Code to Test Ratio: 1:2.8
 
 
After:
 
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 4145 | 3062 | 74 | 242 | 3 | 10 |
| Helpers | 1552 | 1220 | 0 | 124 | 0 | 7 |
| Models | 9897 | 5266 | 117 | 951 | 8 | 3 |
| Libraries | 209 | 116 | 1 | 16 | 16 | 5 |
| Model specs | 11535 | 8915 | 0 | 5 | 0 | 1781 |
| View specs | 19506 | 15059 | 0 | 299 | 0 | 48 |
| Controller specs | 5711 | 4403 | 0 | 181 | 0 | 22 |
| Helper specs | 2134 | 1518 | 0 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 54689 | 39559 | 192 | 1818 | 9 | 19 |
+----------------------+-------+-------+---------+---------+-----+-------+
  Code LOC: 9664 Test LOC: 29895 Code to Test Ratio: 1:3.1