Skip to content

Instantly share code, notes, and snippets.

@flavorjones
Created May 14, 2009 06:08
Show Gist options
  • Save flavorjones/111515 to your computer and use it in GitHub Desktop.
Save flavorjones/111515 to your computer and use it in GitHub Desktop.
$ sloccount libxml2-2.7.3
Categorizing files.
Finding a working MD5 command....
Found a working MD5 command.
Computing results.
SLOC Directory SLOC-by-Language (Sorted)
166816 top_dir ansic=155006,sh=9090,python=2653,perl=67
35079 python ansic=20154,python=14925
9017 include ansic=9017
5519 doc python=3159,ansic=1996,php=364
514 xstc python=514
203 example ansic=203
76 macos ansic=76
69 win32 ansic=69
3 test php=3
0 bakefile (none)
0 result (none)
0 vms (none)
Totals grouped by language (dominant language first):
ansic: 186521 (85.84%)
python: 21251 (9.78%)
sh: 9090 (4.18%)
php: 367 (0.17%)
perl: 67 (0.03%)
Total Physical Source Lines of Code (SLOC) = 217,296
Development Effort Estimate, Person-Years (Person-Months) = 56.88 (682.52)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 2.49 (29.85)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 22.87
Total Estimated Cost to Develop = $ 7,683,267
(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'."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment