Evaluating Demeter using David Wheeler's SLOCCount

Here is an exercise that should not be taken too seriously. Doing an git clone of the Demeter codes base on 14 October 2011, then running SLOCCount yielded:

SLOC    Directory       SLOC-by-Language (Sorted)
51862   lib             perl=50934,fortran=928
2676    examples        perl=2676
1702    t               perl=1702
1368    src_top_dir     ansic=1368
850     bin             perl=850
454     tools           lisp=454
429     win             perl=380,sh=49
374     top_dir         perl=357,sh=17
324     attic           perl=324
307     doc             perl=277,sh=30
90      notes           perl=90
0       swig            (none)


Totals grouped by language (dominant language first):
perl:         57590 (95.29%)
ansic:         1368 (2.26%)
fortran:        928 (1.54%)
lisp:           454 (0.75%)
sh:              96 (0.16%)




Total Physical Source Lines of Code (SLOC)                = 60,436
Development Effort Estimate, Person-Years (Person-Months) = 14.84 (178.06)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 1.49 (17.91)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 9.94
Total Estimated Cost to Develop                           = $ 2,004,482
 (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'."

SLOCCount homepage

Note that SLOCCount does not have a way of evaluating documentation, which for Demeter includes extensive work using POD and Template Toolkit. Also note that I didn't write everything that comes in the Demeter package, for instance Star::Parser or any of the compiled elements.

Demeter/Sloccount (last edited 2011-10-14 21:16:10 by BruceRavel)