Quite an interesting output running sloccount over OpenLDAP HEAD:
SLOC Directory SLOC-by-Language (Sorted) 138537 servers ansic=138092,cpp=254,perl=152,sh=39 60773 libraries ansic=60773 28054 contrib ansic=14646,sh=8765,cpp=4472,perl=126,tcl=45 20657 tests sh=17287,ansic=3370 9518 build sh=9515,ansic=3 6025 include ansic=6025 5657 clients ansic=5657 0 CVS (none) 0 doc (none) 0 top_dir (none)
Totals grouped by language (dominant language first): ansic: 228566 (84.90%) sh: 35606 (13.23%) cpp: 4726 (1.76%) perl: 278 (0.10%) tcl: 45 (0.02%)
Total Physical Source Lines of Code (SLOC) = 269,221 Development Effort Estimate, Person-Years (Person-Months) = 71.23 (854.72) (Basic COCOMO model, Person-Months = 2.4 (KSLOC**1.05)) Schedule Estimate, Years (Months) = 2.71 (32.51) (Basic COCOMO model, Months = 2.5 (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 26.29 Total Estimated Cost to Develop = $ 9,621,793 (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'."
:-)