Skip to content

Instantly share code, notes, and snippets.

@dhh
Created May 9, 2012 08:57
Show Gist options
  • Save dhh/2643144 to your computer and use it in GitHub Desktop.
Save dhh/2643144 to your computer and use it in GitHub Desktop.
Coding stats from the new Basecamp
bcx david$ rake stats
+----------------------+-------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers | 3704 | 2942 | 72 | 479 | 6 | 4 |
| Helpers | 1901 | 1529 | 13 | 261 | 20 | 3 |
| Models | 5310 | 4116 | 50 | 653 | 13 | 4 |
| Libraries | 2167 | 1593 | 51 | 200 | 3 | 5 |
| Integration tests | 297 | 217 | 6 | 1 | 0 | 215 |
| Functional tests | 3897 | 3065 | 61 | 11 | 0 | 276 |
| Unit tests | 9252 | 7273 | 127 | 39 | 0 | 184 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total | 26528 | 20735 | 380 | 1644 | 4 | 10 |
+----------------------+-------+-------+---------+---------+-----+-------+
Code LOC: 10180 Test LOC: 10555 Code to Test Ratio: 1:1.0
@mrhead
Copy link

mrhead commented Mar 28, 2014

@dhh can you post actual output from rake stats?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment