Skip to content

Instantly share code, notes, and snippets.

@leondu
Created June 23, 2012 08:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leondu/2977521 to your computer and use it in GitHub Desktop.
Save leondu/2977521 to your computer and use it in GitHub Desktop.
rake stats of ruby-china.org
[leondu@megi:ruby-china(master)]$ rake stats
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 1579 | 1253 | 34 | 186 | 5 | 4 |
| Helpers | 370 | 307 | 0 | 43 | 0 | 5 |
| Models | 1471 | 1098 | 26 | 94 | 3 | 9 |
| Libraries | 521 | 365 | 9 | 26 | 2 | 12 |
| Model specs | 902 | 745 | 3 | 0 | 0 | 0 |
| Controller specs | 723 | 615 | 0 | 0 | 0 | 0 |
| Helper specs | 360 | 288 | 0 | 0 | 0 | 0 |
| Routing specs | 58 | 43 | 0 | 0 | 0 | 0 |
| Request specs | 43 | 36 | 0 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 6027 | 4750 | 72 | 349 | 4 | 11 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 3023 Test LOC: 1727 Code to Test Ratio: 1:0.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment