Skip to content

Instantly share code, notes, and snippets.

@rafaelp
Created August 23, 2011 22:46
Show Gist options
  • Save rafaelp/1166819 to your computer and use it in GitHub Desktop.
Save rafaelp/1166819 to your computer and use it in GitHub Desktop.
Rake stats do ContaCal
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 37 | 30 | 4 | 4 | 1 | 5 |
| Helpers | 3 | 2 | 0 | 0 | 0 | 0 |
| Models | 38 | 31 | 3 | 2 | 0 | 13 |
| Libraries | 0 | 0 | 0 | 0 | 0 | 0 |
| Model specs | 169 | 158 | 0 | 0 | 0 | 0 |
| Controller specs | 105 | 90 | 0 | 1 | 0 | 88 |
| Helper specs | 0 | 0 | 0 | 0 | 0 | 0 |
| Mailer specs | 125 | 116 | 0 | 0 | 0 | 0 |
| Routing specs | 30 | 26 | 0 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 507 | 453 | 7 | 7 | 1 | 62 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 63 Test LOC: 390 Code to Test Ratio: 1:6.2
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 104 | 89 | 5 | 10 | 2 | 6 |
| Helpers | 27 | 21 | 0 | 6 | 0 | 1 |
| Models | 45 | 39 | 3 | 3 | 1 | 11 |
| Libraries | 0 | 0 | 0 | 0 | 0 | 0 |
| Model specs | 292 | 282 | 0 | 0 | 0 | 0 |
| Controller specs | 266 | 239 | 0 | 2 | 0 | 117 |
| Helper specs | 0 | 0 | 0 | 0 | 0 | 0 |
| Mailer specs | 256 | 238 | 0 | 0 | 0 | 0 |
| Routing specs | 58 | 51 | 0 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 1048 | 959 | 8 | 21 | 2 | 43 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 149 Test LOC: 810 Code to Test Ratio: 1:5.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment