Ethereal-dev: [Ethereal-dev] How big is Ethereal?

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Brad Hards <bhards@xxxxxxxxxxxxxx>
Date: Fri, 03 Oct 2003 17:07:58 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here is a quick report from sloccount-2.04. It might look better if you use a 
fixed width font.
SLOC    Directory       SLOC-by-Language (Sorted)
386194  top_dir         ansic=363048,python=14428,sh=8476,perl=171,lex=71
36565   gtk             ansic=36565
20504   epan            ansic=19327,sh=868,lex=309
18015   plugins         ansic=17963,python=52
14966   wiretap         ansic=13623,sh=842,lex=289,yacc=212
4813    tools           ansic=3423,python=1390
128     packaging       sh=128
107     doc             perl=107
17      debian          sh=17
0       aclocal-fallback (none)
0       aclocal-missing (none)
0       autom4te-2.5x.cache (none)
0       CVS             (none)
0       gtk2            (none)
0       image           (none)


Totals grouped by language (dominant language first):
ansic:       453949 (94.32%)
python:       15870 (3.30%)
sh:           10331 (2.15%)
lex:            669 (0.14%)
perl:           278 (0.06%)
yacc:           212 (0.04%)




Total Physical Source Lines of Code (SLOC)                = 481,309
Development Effort Estimate, Person-Years (Person-Months) = 131.09 (1,573.10)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 3.42 (40.99)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 38.38
Total Estimated Cost to Develop                           = $ 17,708,705
 (average salary = $56,286/year, overhead = 2.40).
SLOCCount is Open Source Software/Free Software, licensed under the FSF GPL.
Please credit this data as "generated using 'SLOCCount' by David A. Wheeler."

Now I don't claim that is how much work it took to make Ethereal - the tools
used, programmer skill, and the nature of the code all affect this. Plus its a 
metric estimate based on a lot of older projects.

For comparison, the kernel and the main parts of KDE are both between 3 and 4 
million lines. Ethereal 0.9.8 has 374,623 SLOC, Bind 9.2.2 has 229,029 SLOC

Brad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/fSBSW6pHgIdAuOMRAplgAJ9q4BVHevcRkMQDhk1jwS4cH4EY5QCfUlB8
p5B4KfOIXv55VJQpbUBv/bo=
=M9Sf
-----END PGP SIGNATURE-----