[Insight-developers] LOC
Miller, James V (Research)
millerjv at crd.ge.com
Fri Aug 13 13:24:34 EDT 2004
I see a few suprises here...
1. I am little suprised at the number of lines of C code. I guess most of
our header files are mistaken as ansi C code.
2. It might be better to run these statistics excluding the Utilities
directory
since we probably shouldn't take credit for things like vnl, png, jpeg, ...
I
am suprised that ITK comes up to 1M lines of code.
3. The schedule estimate is suprisingly accurate. However, the number of
developers is off by at least a factor of 2 (probably closer to being off
by a factor of 3-4).
4. ITK was a bargin given SLOCCount's estimate project cost.
Jim
-----Original Message-----
From: William A. Hoffman [mailto:billlist at nycap.rr.com]
Sent: Friday, August 13, 2004 12:58 PM
To: insight-developers at itk.org
Subject: [Insight-developers] LOC
I ran sloccount (http://www.dwheeler.com/sloccount/)
on the ITK source tree.
Totals grouped by language (dominant language first):
ansic: 772903 (68.11%)
cpp: 288238 (25.40%)
fortran: 26052 (2.30%)
asm: 19610 (1.73%)
yacc: 7726 (0.68%)
sh: 5040 (0.44%)
python: 3223 (0.28%)
tcl: 2426 (0.21%)
java: 2091 (0.18%)
ruby: 2063 (0.18%)
lisp: 1841 (0.16%)
perl: 1096 (0.10%)
php: 908 (0.08%)
ml: 804 (0.07%)
lex: 307 (0.03%)
cs: 206 (0.02%)
awk: 117 (0.01%)
pascal: 78 (0.01%)
sed: 20 (0.00%)
Total Physical Source Lines of Code (SLOC) = 1,134,749
Development Effort Estimate, Person-Years (Person-Months) = 322.61
(3,871.29)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 4.81 (57.72)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 67.07
Total Estimated Cost to Develop = $ 43,579,919
(average salary = $56,286/year, overhead = 2.40).
SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL.
SLOCCount comes with ABSOLUTELY NO WARRANTY, and you are welcome to
redistribute it under certain conditions as specified by the GNU GPL
license;
see the documentation for details.
Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."
_______________________________________________
Insight-developers mailing list
Insight-developers at itk.org
http://www.itk.org/mailman/listinfo/insight-developers
More information about the Insight-developers
mailing list