[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lines of code statistics
From: |
Marcus Brinkmann |
Subject: |
lines of code statistics |
Date: |
Tue, 18 Sep 2001 02:49:47 +0200 |
User-agent: |
Mutt/1.3.20i |
Hi,
I run the sloccount program on libc, gnumach, hurd, oskit-mach and mig.
Adding oskit would have added a real huge amount of code, too ;)
libc contains support for many platforms, one reason why it adds
substantially to the overall size.
gnumach is six times larger than oskit-mach in number of code lines.
But don't forget that oskit is larger than gnumach ;)
According to this, it takes about 50 person years to develop the Hurd.
So I would say we are within schedule ;)
SLOC Directory SLOC-by-Language (Sorted)
687878 libc ansic=587847,asm=89845,sh=6589,perl=2199,awk=986,
yacc=315,sed=97
322682 gnumach ansic=318614,asm=2263,sh=1760,awk=45
191416 hurd ansic=186226,sh=2966,asm=2041,awk=183
53914 oskit-mach ansic=50810,sh=1760,asm=1299,awk=45
11698 mig ansic=8773,sh=2051,yacc=560,lex=269,awk=45
ansic: 1152270 (90.90%)
asm: 95448 (7.53%)
sh: 15126 (1.19%)
perl: 2199 (0.17%)
awk: 1304 (0.10%)
yacc: 875 (0.07%)
lex: 269 (0.02%)
sed: 97 (0.01%)
Total Physical Source Lines of Code (SLOC) = 1,267,588
Development Effort Estimate, Person-Years (Person-Months) = 342.47 (4,109.64)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 3.94 (47.27)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Total Estimated Cost to Develop = $ 46,263,085
(average salary = $56,286/year, overhead = 2.40).
Please credit this data as "generated using 'SLOCCount' by David A. Wheeler."
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de
- lines of code statistics,
Marcus Brinkmann <=