Skip to content

Instantly share code, notes, and snippets.

@bandito
Created October 14, 2012 20:09
Show Gist options
  • Save bandito/3889665 to your computer and use it in GitHub Desktop.
Save bandito/3889665 to your computer and use it in GitHub Desktop.
Playoday stats
bandito@zefreak:playoday [master]$ bundle exec rake stats
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 250 | 190 | 4 | 19 | 4 | 8 |
| Helpers | 12 | 12 | 0 | 1 | 0 | 10 |
| Models | 468 | 228 | 14 | 29 | 2 | 5 |
| Libraries | 380 | 165 | 4 | 15 | 3 | 9 |
| Integration tests | 0 | 0 | 0 | 0 | 0 | 0 |
| Functional tests | 7 | 3 | 1 | 0 | 0 | 0 |
| Unit tests | 4 | 3 | 1 | 0 | 0 | 0 |
| Model specs | 546 | 338 | 0 | 0 | 0 | 0 |
| Controller specs | 666 | 550 | 0 | 0 | 0 | 0 |
| Helper specs | 0 | 0 | 0 | 0 | 0 | 0 |
| Library specs | 682 | 543 | 0 | 0 | 0 | 0 |
| Routing specs | 62 | 52 | 0 | 0 | 0 | 0 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 3077 | 2084 | 24 | 64 | 2 | 30 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 595 Test LOC: 1489 Code to Test Ratio: 1:2.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment