On Wed, Apr 27, 2005 at 10:36:08PM +0200, Steven Bosscher wrote: > [*] Does anyone have an idea of how large GCC really is? > ~1.8 MLOC.
Courtesy of David Wheeler's SLOCCount (testsuites excluded): SLOC Directory SLOC-by-Language (Sorted) 1179994 gcc ansic=745370,ada=395409,asm=21934,yacc=13865,sh=1841, lex=857,awk=439,perl=193,pascal=86 398689 libjava java=282613,cpp=69449,ansic=39675,sh=5417,perl=858, yacc=653,awk=24 50724 libstdc++-v3 cpp=34477,ansic=15657,sh=421,perl=130,awk=39 31583 libgfortran ansic=31166,f90=365,sh=52 30400 boehm-gc ansic=28510,cpp=1146,asm=443,sh=301 23021 libiberty ansic=22722,perl=299 19533 zlib ansic=13100,asm=2710,ada=1637,pascal=1085,cpp=1001 13772 libffi ansic=8135,asm=5637 12324 libcpp ansic=12324 12102 top_dir sh=12102 8565 libobjc ansic=7752,objc=427,cpp=386 6955 intl ansic=6639,yacc=316 4861 libmudflap ansic=4861 3958 contrib cpp=2306,sh=1122,perl=374,awk=67,lisp=59,ansic=30 2758 fastjar ansic=2758 2697 fixincludes ansic=2254,sh=443 1734 include ansic=1706,cpp=28 837 maintainer-scripts sh=828,perl=9 Totals grouped by language (dominant language first): ansic: 942659 (52.24%) ada: 397046 (22.00%) java: 282613 (15.66%) cpp: 108793 (6.03%) asm: 30724 (1.70%) sh: 22527 (1.25%) yacc: 14834 (0.82%) perl: 1863 (0.10%) pascal: 1171 (0.06%) lex: 857 (0.05%) awk: 569 (0.03%) objc: 427 (0.02%) f90: 365 (0.02%) lisp: 59 (0.00%) Total Physical Source Lines of Code (SLOC) = 1,804,507 Development Effort Estimate, Person-Years (Person-Months) = 525.06 (6,300.68) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 5.79 (69.46) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 90.72 Total Estimated Cost to Develop = $ 70,928,067 (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'."