November 2017
Intermediate to advanced
496 pages
12h 50m
English
To complete our retrospective, let’s see how much code we’ve written. There’s a Rails command for that, too:
| | depot> bin/rails stats |
| | +----------------------+--------+--------+---------+---------+-----+-------+ |
| | | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | |
| | +----------------------+--------+--------+---------+---------+-----+-------+ |
| | | Controllers | 625 | 382 | 9 | 55 | 6 | 4 | |
| | | Helpers | 26 | 24 | 0 | 1 | 0 | 22 | |
| | | Jobs | 2 | 2 | 1 | 0 | 0 | 0 | |
| | | Models | 137 | 77 | 6 | 7 | 1 | 9 | |
| | | Mailers | 33 | 15 | 2 | 2 | 1 | 5 | |
| | | Javascripts | 66 | 7 | 0 | 3 | 0 | 0 | |
| | | Libraries | 23 | 18 | 0 | 0 | 0 | 0 | |
| | | Tasks | 23 | 18 | 0 | 0 | 0 | 0 | |
| | | Controller tests | 386 | 274 | 8 | 46 | 5 | ... |
Read now
Unlock full access