Hi all,
I thought it might be interresting to count the number of Source Lines
Of Code (SLOC), and since I was recently introduced to a small program
called sloccount [1], I decided to give it a try. The output is
listed below.
SLOC Directory SLOC-by-Language (Sorted)
51946 modules cpp=51934,sh=12
16447 data cpp=16447
13402 db cpp=13361,sh=41
3978 scripts cpp=3978
3288 util cpp=3288
1708 test cpp=1708
1323 packages cpp=1323
1264 managers cpp=1264
1125 applications cpp=691,sh=434
625 help lisp=625
25 top_dir sh=25
0 asciidata (none)
0 CVS (none)
0 doc (none)
0 config (none)
Totals grouped by language (dominant language first):
cpp: 93994 (98.80%)
lisp: 625 (0.66%)
sh: 512 (0.54%)
* Total Physical Source Lines of Code (SLOC) = 95,131
* Development Effort Estimate, Person-Years (Person-Months) = 23.89 (286.71)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
* Schedule Estimate, Years (Months) = 1.79 (21.47)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
* Estimated Average Number of Developers (Effort/Schedule) = 13.36
* Total Estimated Cost to Develop = $ 3,227,601
(average salary = $56,286/year, overhead = 2.40).
generated using 'SLOCCount' by David A. Wheeler.
I think the price of BRAT is largely overestimated, since I for one
do not earn $50,000 a year (more like $5,000). The Development
Effort however, is an interresting thing. We're about 50 people in
the collaboration, of which approximantly 50% contribute code to
BRAT. Hence, the above number suggests we should've taken one year
and 10 months to write BRAT! That's ofcourse ludicrous, since we do
other stuff than just writting code for BRAT, like teaching, taking
courses, administration, giving talks, and so on, which is not part of
the model used, and ofcourse, none of us are really profesional
programers. Let's say we average 25% of our time spend coding, that
would mean 7 years and 4 months, much more realistic.
Anyway, I thought it would be of interest to some.
Yours,
Christian Holm Christensen -------------------------------------------
Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91
DK-2200 Copenhagen N Cell: (+45) 28 82 16 23
Denmark Office: (+45) 353 25 305
Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
[1] http://www.dwheeler.com/sloccount/
This archive was generated by hypermail 2b30 : Thu Jan 03 2002 - 08:18:14 EST