Skip to content

Instantly share code, notes, and snippets.

@usutani
Forked from dhh/gist:2643144
Created April 25, 2014 06:30
Show Gist options
  • Save usutani/11279581 to your computer and use it in GitHub Desktop.
Save usutani/11279581 to your computer and use it in GitHub Desktop.
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
@usutani
Copy link
Author

usutani commented Mar 7, 2021

2016年2月20日
https://twitter.com/dhh/status/700724641812377602

Here are the stats for the Majestic Rails Monolith of Basecamp 3 after three months since release:
LOC 38352

@usutani
Copy link
Author

usutani commented Mar 7, 2021

2018年2月10日
https://twitter.com/dhh/status/962111734361178112

Basecamp 3 is up to 308 controllers. Some 1400 methods. Imagine recreating all that with all-native apps? No thanks. Majestic be thy Monolith.
LOC 69707

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