SLOCCount (pronounced "sloc-count") is a suite of programs for counting physical source lines of code in potentially large software systems. SLOCCount will try to quickly estimate development time and effort given only the lines of code it computes, using the original Basic COCOMO model. Some of my statistics:
Total Physical Source Lines of Code (SLOC) = 32,581 Development Effort Estimate, Person-Years (Person-Months) = 7.76 (93.07) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 1.17 (14.00) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 6.65 Total Estimated Cost to Develop = $ 1,047,742 (average salary = $56,286/year, overhead = 2.40).
Total Physical Source Lines of Code (SLOC) = 138,442 Development Effort Estimate, Person-Years (Person-Months) = 35.43 (425.15) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 2.08 (24.93) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 17.05 Total Estimated Cost to Develop = $ 4,786,002 (average salary = $56,286/year, overhead = 2.40).
Total Physical Source Lines of Code (SLOC) = 11,816 Development Effort Estimate, Person-Years (Person-Months) = 2.67 (32.09) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 0.78 (9.34) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 3.44 Total Estimated Cost to Develop = $ 361,190 (average salary = $56,286/year, overhead = 2.40).
Total Physical Source Lines of Code (SLOC) = 647 Development Effort Estimate, Person-Years (Person-Months) = 0.13 (1.52) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 0.24 (2.93) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 0.52 Total Estimated Cost to Develop = $ 17,104 (average salary = $56,286/year, overhead = 2.40).
Total Physical Source Lines of Code (SLOC) = 753 Development Effort Estimate, Person-Years (Person-Months) = 0.15 (1.78) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 0.26 (3.11) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 0.57 Total Estimated Cost to Develop = $ 20,057 (average salary = $56,286/year, overhead = 2.40).