Let me know if you find a buyer, I want my cut ;-)
Benjamin Kirk writes:
> I found a utility called 'sloccount' to count the number of lines of code in
> a project... Very interesting. See for yourself: apparently the code would
> cost over $3 million to develop.
>
> -Ben
>
> benkirk(2)$ sloccount src doc include examples
> Creating filelist for src
> Creating filelist for doc
> Creating filelist for include
> Creating filelist for examples
> Categorizing files.
> Finding a working MD5 command....
> Found a working MD5 command.
> Computing results.
>
>
> SLOC Directory SLOC-by-Language (Sorted)
> 71979 src cpp=71979
> 17723 include cpp=16522,ansic=1201
> 3962 examples cpp=3958,sh=4
> 419 doc php=377,sh=42
>
>
> Totals grouped by language (dominant language first):
> cpp: 92459 (98.27%)
> ansic: 1201 (1.28%)
> php: 377 (0.40%)
> sh: 46 (0.05%)
>
>
>
>
> Total Physical Source Lines of Code (SLOC) = 94,083
> Development Effort Estimate, Person-Years (Person-Months) = 23.62 (283.40)
> (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
> Schedule Estimate, Years (Months) = 1.78 (21.37)
> (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
> Estimated Average Number of Developers (Effort/Schedule) = 13.26
> Total Estimated Cost to Develop = $ 3,190,277
> (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'."
|