From: Wheeler, Frederick W (Research) <wheeler@cr...> - 2004-08-13 15:27:57
Just for fun I ran sloccount (http://www.dwheeler.com/sloccount/) on the VXL
source tree. We all know how misleading LOC can be as a software metric, so
take this for what it's worth.
Here's a summary of the sloccount output: VXL has 561,755 lines of code
which would take 154 person-years to develop. With a staff of 42 developers
VXL could be developed in 3.6 years at a cost of $20.8 Million (US).
Full sloccount output is below.
% sloccount vxl_src
Have a non-directory at the top, so creating directory top_dir
Adding /home/200006507/dev/vxl_src/CHANGES.txt to top_dir
Adding /home/200006507/dev/vxl_src/CMakeLists.txt to top_dir
Creating filelist for CVS
Adding /home/200006507/dev/vxl_src/DartConfig.cmake to top_dir
Adding /home/200006507/dev/vxl_src/DartConfigServer.cmake to top_dir
Adding /home/200006507/dev/vxl_src/TODO.txt to top_dir
Adding /home/200006507/dev/vxl_src/aclocal.m4 to top_dir
Creating filelist for config
Adding /home/200006507/dev/vxl_src/configure.in to top_dir
Creating filelist for contrib
Creating filelist for core
Creating filelist for scripts
Creating filelist for v3p
Creating filelist for vcl
Finding a working MD5 command....
Found a working MD5 command.
SLOC Directory SLOC-by-Language (Sorted)
218443 contrib cpp=215147,ansic=3296
188657 v3p ansic=118440,cpp=44131,fortran=26052,sh=34
133607 core cpp=126631,sh=3642,ansic=3127,perl=207
19300 vcl cpp=19252,sh=48
921 scripts sh=874,perl=47
827 config cpp=674,sh=153
0 CVS (none)
0 top_dir (none)
Totals grouped by language (dominant language first):
cpp: 405835 (72.24%)
ansic: 124863 (22.23%)
fortran: 26052 (4.64%)
sh: 4751 (0.85%)
perl: 254 (0.05%)
Total Physical Source Lines of Code (SLOC) = 561,755
Development Effort Estimate, Person-Years (Person-Months) = 154.19
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 3.63 (43.60)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 42.44
Total Estimated Cost to Develop = $ 20,828,880
(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
see the documentation for details.
Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."