Sich die Arbeitsstunden und den Wert eines Projektes anhand der Projektdateien anzeigen lassen mit sloccount.
$ sloccount ~/project1/
SLOC Directory SLOC-by-Language (Sorted)
35344 lib php=35344
1049 tests php=1022,sh=27
911 templates php=911
653 lang php=653
471 top_dir php=471
426 resources php=316,perl=108,sh=2
206 config php=206
139 external php=139
69 api php=69
0 css (none)
0 images (none)
0 js (none)
0 tmp (none)
Totals grouped by language (dominant language first):
php: 39131 (99.65%)
perl: 108 (0.28%)
sh: 29 (0.07%)
Total Physical Source Lines of Code (SLOC) = 39,268
Development Effort Estimate, Person-Years (Person-Months) = 9.44 (113.23)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 1.26 (15.08)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 7.51
Total Estimated Cost to Develop = $ 1,274,625
(average salary = $56,286/year, overhead = 2.40).