Skip to content

Instantly share code, notes, and snippets.

@mergulhao
Created June 7, 2011 16:06
Show Gist options
  • Save mergulhao/1012562 to your computer and use it in GitHub Desktop.
Save mergulhao/1012562 to your computer and use it in GitHub Desktop.
ruby-1.9.2@ideas mergulhao@darkstar:~/Desenvolvimento/ideas(master)$ rake stats
(in /Users/mergulhao/Desenvolvimento/ideas)
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 97 | 83 | 2 | 10 | 5 | 6 |
| Helpers | 15 | 13 | 0 | 3 | 0 | 2 |
| Models | 74 | 58 | 1 | 12 | 12 | 2 |
| Libraries | 41 | 37 | 0 | 1 | 0 | 35 |
| Model specs | 253 | 231 | 0 | 1 | 0 | 229 |
| Controller specs | 341 | 302 | 0 | 5 | 0 | 58 |
| Helper specs | 27 | 24 | 0 | 0 | 0 | 0 |
| Library specs | 20 | 15 | 0 | 0 | 0 | 0 |
| Mailer specs | 86 | 64 | 0 | 0 | 0 | 0 |
| Routing specs | 46 | 35 | 0 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 1000 | 862 | 3 | 32 | 10 | 24 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 191 Test LOC: 671 Code to Test Ratio: 1:3.5
ruby-1.9.2@ideas mergulhao@darkstar:~/Desenvolvimento/ideas(master)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment