This rather cold evening I've decided to have some fun and to measure the scope of this project at last.
So, here is it's current state:
Code: Select all
lucyfire:source migun$ ./sloc.sh
Creating filelist for VFS
Creating filelist for RoutedIO
Creating filelist for Habanero
Creating filelist for HabaneroTests
Creating filelist for Utility
Creating filelist for NimbleCommander
Creating filelist for Files Tests
Categorizing files.
Finding a working MD5 command....
Found a working MD5 command.
Computing results.
SLOC Directory SLOC-by-Language (Sorted)
45189 NimbleCommander cpp=45189
9998 VFS cpp=9998
5048 Utility cpp=4350,ansic=680,objc=18
3360 Habanero cpp=3360
2294 Files Tests cpp=2294
1402 RoutedIO cpp=1402
77 HabaneroTests cpp=77
Totals grouped by language (dominant language first):
cpp: 66670 (98.96%)
ansic: 680 (1.01%)
objc: 18 (0.03%)
Total Physical Source Lines of Code (SLOC) = 67,368
Development Effort Estimate, Person-Years (Person-Months) = 16.63 (199.57)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 1.56 (18.71)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 10.67
Total Estimated Cost to Develop = $ 2,246,560
(average salary = $56,286/year, overhead = 2.40).
For comparison: muCommander has 90KSLOC(Java) and mc has 113KSLOC(C).