Есть такая программка, http://www.dwheeler.com/sloccount/, она вычисляет человеко-часы по какой-то формуле, конечно очень приблизительно (особенно для небольших проектов), но примерное представление получить можно:
| Код | % sloccount dia-0.97
SLOC Directory SLOC-by-Language (Sorted) 53346 objects ansic=53346 40860 plug-ins ansic=35523,python=3439,cpp=1898 31716 lib ansic=31716 29049 app ansic=29049 13036 bindings cpp=12905,python=131 9415 top_dir sh=9337,python=78 421 tests ansic=421 142 sheets python=129,sh=13 27 installer ansic=27 0 data (none) 0 doc (none) 0 po (none) 0 samples (none) 0 shapes (none)
Totals grouped by language (dominant language first): ansic: 150082 (84.31%) cpp: 14803 (8.32%) sh: 9350 (5.25%) python: 3777 (2.12%)
Total Physical Source Lines of Code (SLOC) = 178,012 Development Effort Estimate, Person-Years (Person-Months) = 46.13 (553.58) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 2.30 (27.56) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 20.08 Total Estimated Cost to Develop = $ 6,231,798 (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'."
|
|