Posted by Mr Arcade on January 06, 2002 at 21:04:54:
Forwarding what I found......
This is a cost estimation of the MAME, MESS, AdvanceMAME and XMAME projects
generated using the SLOCCount program by David A. Wheeler.
(SLOC means "Source Line of Code")
http://www.dwheeler.com/sloccount/
MAME 0.57 (CORE+DOS+Windows)
SLOC Directory SLOC-by-Language (Sorted)
350010 drivers ansic=350010
143485 cpu ansic=143485
124779 vidhrdw ansic=124779
44731 top_dir ansic=44685,perl=46
33596 machine ansic=33596
26127 sound ansic=26127
13801 sndhrdw ansic=13801
11032 windows ansic=9529,asm=1503
8947 msdos ansic=8747,asm=200
3509 dbgfonts ansic=3509
1255 includes ansic=1255
Totals grouped by language (dominant language first):
ansic: 759523 (99.77%)
asm: 1703 (0.22%)
perl: 46 (0.01%)
Total Physical Source Lines of Code (SLOC) = 761,272
Development Effort Estimate, Person-Years (Person-Months) = 212.15 (2,545.82)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 4.10 (49.22)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 51.72
Total Estimated Cost to Develop = $ 28,658,831
(average salary = $56,286/year, overhead = 2.40).
MESS 0.56 (excluded MAME sources)
SLOC Directory SLOC-by-Language (Sorted)
66782 machine ansic=66782
49471 systems ansic=49471
41045 vidhrdw ansic=41045
32696 cpu ansic=32696
16672 tools ansic=16672
7125 includes ansic=7125
6777 sndhrdw ansic=6777
4399 top_dir ansic=4399
2718 windowsui ansic=2718
2473 sound ansic=2473
2040 formats ansic=2040
1857 windows ansic=1857
Totals grouped by language (dominant language first):
ansic: 234055 (100.00%)
Total Physical Source Lines of Code (SLOC) = 234,055
Development Effort Estimate, Person-Years (Person-Months) = 61.49 (737.90)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 2.56 (30.75)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 24.00
Total Estimated Cost to Develop = $ 8,306,641
(average salary = $56,286/year, overhead = 2.40).
AdvanceMAME/MENU/CAB 0.57.0 (excluded MAME/SVGALIB/MPGLIB sources)
SLOC Directory SLOC-by-Language (Sorted)
72735 advance ansic=51954,cpp=19922,asm=555,yacc=199,lex=102,perl=3
0 doc (none)
0 support (none)
0 top_dir (none)
Totals grouped by language (dominant language first):
ansic: 51954 (71.43%)
cpp: 19922 (27.39%)
asm: 555 (0.76%)
yacc: 199 (0.27%)
lex: 102 (0.14%)
perl: 3 (0.00%)
Total Physical Source Lines of Code (SLOC) = 72,735
Development Effort Estimate, Person-Years (Person-Months) = 18.02 (216.29)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 1.61 (19.29)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 11.21
Total Estimated Cost to Develop = $ 2,434,850
(average salary = $56,286/year, overhead = 2.40).
XMAME 0.56.2 (excluded MAME sources)
SLOC Directory SLOC-by-Language (Sorted)
16611 video-drivers ansic=16354,objc=257
10568 contrib ansic=7195,tcl=1818,perl=1278,sh=274,csh=3
6885 top_dir ansic=6733,sh=152
6204 sysdep ansic=6204
673 sound-drivers.old ansic=540,objc=133
656 joystick-drivers ansic=656
244 frameskip-drivers ansic=244
38 doc sh=38
0 cab (none)
Totals grouped by language (dominant language first):
ansic: 37926 (90.56%)
tcl: 1818 (4.34%)
perl: 1278 (3.05%)
sh: 464 (1.11%)
objc: 390 (0.93%)
csh: 3 (0.01%)
Total Physical Source Lines of Code (SLOC) = 41,879
Development Effort Estimate, Person-Years (Person-Months) = 10.10 (121.15)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 1.29 (15.47)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 7.83
Total Estimated Cost to Develop = $ 1,363,759
(average salary = $56,286/year, overhead = 2.40).