[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
I just ran across SLOCCount: http://www.dwheeler.com/sloccount/
Here are the results for Allegro (CVS as of today, early in the morning):
SLOC Directory SLOC-by-Language (Sorted)
27416 src_top_dir ansic=27416
13067 src_i386 asm=11895,ansic=1172
12954 src_dos ansic=12539,asm=415
11890 tools ansic=11719,cpp=171
9099 src_misc ansic=5349,asm=3750
7687 src_win ansic=7551,asm=136
7399 tests ansic=7399
6115 include ansic=5797,cpp=318
5122 examples ansic=5122
4723 src_x ansic=4669,asm=54
3924 src_mac ansic=3924
3259 src_c ansic=3250,asm=9
3187 src_linux ansic=3153,asm=34
3177 src_beos cpp=2732,ansic=396,asm=49
2840 setup ansic=2840
2310 src_unix ansic=2310
1989 docs ansic=1989
1791 misc sh=1574,ansic=188,perl=29
1694 demo ansic=1694
1299 src_qnx ansic=1259,asm=40
197 top_dir sh=167,ansic=30
1 src_ppc asm=1
0 obj (none)
0 lib (none)
0 resource (none)
0 src_CVS (none)
0 CVS (none)
Totals grouped by language (dominant language first):
ansic: 109766 (83.70%)
asm: 16383 (12.49%)
cpp: 3221 (2.46%)
sh: 1741 (1.33%)
perl: 29 (0.02%)
Total Physical Source Lines of Code (SLOC) = 131,140
Development Effort Estimate, Person-Years (Person-Months) = 33.47 (401.64)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 2.03 (24.40)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 16.46
Total Estimated Cost to Develop = $ 4,521,302
(average salary = $56,286/year, overhead = 2.40).
Please credit this data as "generated using 'SLOCCount' by David A.
Wheeler."
--
Eric Botcazou
ebotcazou@xxxxxxxxxx