I can''t believe i just found out about this. I''m curious to see what the stats on other people''s projects look like. Here''s mine (8 hours dev time): +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Helpers | 45 | 32 | 0 | 3 | 0 | 8 | | Controllers | 147 | 104 | 5 | 10 | 2 | 8 | | APIs | 0 | 0 | 0 | 0 | 0 | 0 | | Components | 0 | 0 | 0 | 0 | 0 | 0 | | Functionals | 72 | 52 | 8 | 12 | 1 | 2 | | Models | 355 | 209 | 12 | 19 | 1 | 9 | | Units | 499 | 322 | 11 | 33 | 3 | 7 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 1118 | 719 | 36 | 77 | 2 | 7 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 345 Test LOC: 374 Code to Test Ratio: 1:1.1
+----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Helpers | 72 | 61 | 0 | 12 | 0 | 3 | | Controllers | 141 | 115 | 3 | 18 | 6 | 4 | | APIs | 0 | 0 | 0 | 0 | 0 | 0 | | Components | 0 | 0 | 0 | 0 | 0 | 0 | | Functionals | 230 | 166 | 4 | 26 | 6 | 4 | | Models | 195 | 150 | 9 | 22 | 2 | 4 | | Units | 243 | 194 | 4 | 31 | 7 | 4 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 881 | 686 | 20 | 109 | 5 | 4 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 326 Test LOC: 360 Code to Test Ratio: 1:1.1 After about 12 hours of work... My personal project comiclog has been in the works for about a month (off and on, mostly weekends), but has a pretty bad c:t ratio. .7 I think :) -- rick http://techno-weenie.net
+----------------------+-------+-------+---------+---------+----- +-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+----- +-------+ | Helpers | 56 | 48 | 0 | 5 | 0 | 7 | | Controllers | 280 | 234 | 7 | 37 | 5 | 4 | | APIs | 0 | 0 | 0 | 0 | 0 | 0 | | Components | 0 | 0 | 0 | 0 | 0 | 0 | | Functionals | 457 | 344 | 14 | 62 | 4 | 3 | | Models | 129 | 88 | 4 | 13 | 3 | 4 | | Units | 133 | 90 | 4 | 12 | 3 | 5 | +----------------------+-------+-------+---------+---------+----- +-------+ | Total | 1055 | 804 | 29 | 129 | 4 | 4 | +----------------------+-------+-------+---------+---------+----- +-------+ Code LOC: 370 Test LOC: 434 Code to Test Ratio: 1:1.2 And I haven''t even got around to writing any test''s of my own. -- Craig Beck http://blog.rebelplatoon.com http://luckybonza.com AIM: Kreiggers
Been working on mine for a couple of days now - that includes learning + thinking =) +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Helpers | 77 | 68 | 0 | 5 | 0 | 11 | | Controllers | 349 | 278 | 8 | 50 | 6 | 3 | | APIs | 0 | 0 | 0 | 0 | 0 | 0 | | Components | 0 | 0 | 0 | 0 | 0 | 0 | | Functionals | 465 | 349 | 16 | 63 | 3 | 3 | | Models | 99 | 65 | 8 | 6 | 0 | 8 | | Units | 217 | 150 | 10 | 24 | 2 | 4 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 1207 | 910 | 42 | 148 | 3 | 4 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 411 Test LOC: 499 Code to Test Ratio: 1:1.2 Rob