riskable
09-14-2009, 06:39 PM
My wife asked me "How many lines of code are in your contest entry?" I wasn't sure so I installed SLOCcount (http://www.dwheeler.com/sloccount/) and did a quick scan of the PyCI code directory. The results are interesting:
Totals grouped by language (dominant language first):
python: 10165 (98.43%)
sh: 162 (1.57%)
Total Physical Source Lines of Code (SLOC) = 10,327
Development Effort Estimate, Person-Years (Person-Months) = 2.32 (27.85)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 0.74 (8.85)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 3.15
Total Estimated Cost to Develop = $ 313,556
(average salary = $56,286/year, overhead = 2.40).
SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."
So according to SLOCcount it would take (roughly) 3.15 developers 8.85 months at a cost of $313,556 to code PyCI. I wrote it in my spare time over the course of six months. I wonder if the SLOCcount algorithm takes "obsession" into account? ;D
Totals grouped by language (dominant language first):
python: 10165 (98.43%)
sh: 162 (1.57%)
Total Physical Source Lines of Code (SLOC) = 10,327
Development Effort Estimate, Person-Years (Person-Months) = 2.32 (27.85)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 0.74 (8.85)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 3.15
Total Estimated Cost to Develop = $ 313,556
(average salary = $56,286/year, overhead = 2.40).
SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."
So according to SLOCcount it would take (roughly) 3.15 developers 8.85 months at a cost of $313,556 to code PyCI. I wrote it in my spare time over the course of six months. I wonder if the SLOCcount algorithm takes "obsession" into account? ;D