Skip to content

Instantly share code, notes, and snippets.

@tsabat
Created March 29, 2017 16:00
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 tsabat/f68c958e90b8aa0a785a672379fdbe1b to your computer and use it in GitHub Desktop.
Save tsabat/f68c958e90b8aa0a785a672379fdbe1b to your computer and use it in GitHub Desktop.
CodePen rails stats, as of Mar 29, 2017
+----------------------+--------+-------+---------+---------+-----+-------+
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+--------+-------+---------+---------+-----+-------+
| Controllers | 11934 | 9282 | 200 | 1376 | 6 | 4 |
| Helpers | 1406 | 1138 | 0 | 197 | 0 | 3 |
| Models | 5855 | 4515 | 119 | 696 | 5 | 4 |
| Mailers | 701 | 581 | 16 | 61 | 3 | 7 |
| Javascripts | 226460 |134085 | 0 | 13209 | 0 | 8 |
| Libraries | 52 | 38 | 2 | 4 | 2 | 7 |
| Concern specs | 246 | 176 | 2 | 1 | 0 | 174 |
| Controller specs | 3806 | 3116 | 0 | 36 | 0 | 84 |
| Helper specs | 160 | 108 | 1 | 0 | 0 | 0 |
| Lib specs | 1657 | 1331 | 0 | 10 | 0 | 131 |
| Mailer specs | 186 | 157 | 0 | 0 | 0 | 0 |
| Model specs | 2694 | 2064 | 0 | 11 | 0 | 185 |
| Policy specs | 244 | 198 | 0 | 1 | 0 | 196 |
| Serializer specs | 99 | 94 | 0 | 1 | 0 | 92 |
| Service specs | 12231 | 9460 | 8 | 172 | 21 | 53 |
+----------------------+-------+--------+---------+---------+-----+-------+
| Total | 267731 |166343 | 348 | 15775 | 45 | 8 |
+----------------------+-------+--------+---------+---------+-----+-------+
Code LOC: 149639 Test LOC: 16704 Code to Test Ratio: 1:0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment