Curious stats

Anything else
Locked
User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Curious stats

Post by mike » Tue Oct 04, 2016 3:08 pm

Hi folks,

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).
Hell yeah, 67KSLOC(C++/ObjC) at the moment! :)
For comparison: muCommander has 90KSLOC(Java) and mc has 113KSLOC(C).

User avatar
darek
Posts: 179
Joined: Thu Jul 16, 2015 4:50 pm
Location: Warsaw, Poland
Contact:

Re: Curious stats

Post by darek » Tue Oct 04, 2016 3:16 pm

Cool, best code is lean code. Now, where are you with breaking even on that $2,246,560 cost? ;)

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Curious stats

Post by mike » Tue Oct 04, 2016 3:22 pm

Haha, yep, those estimates are a bit overrated :D

image
Posts: 10
Joined: Wed Sep 28, 2016 8:10 am

Re: Curious stats

Post by image » Mon Oct 10, 2016 9:32 am

Holly cow, that's impressive :)

Locked