Apparently, I’m way underpaid.

 

Out of curiosity, I installed David Wheeler’s SLOCCount tool tonight and let it grind away on the QLab source tree. SLOCCount is an application that counts the number of lines of code you’ve written and estimates the number of developers and the length of time it would take to write that code.

I think the results speak for themselves.

…Which isn’t to say they’re speaking the truth, per se, but who am I to argue about being the equivalent of 7 developers? I expect I’ll see a check in the mail covering development costs in the next few weeks. Hell, I’d even be willing to cut my future benefactor a bargain, and call it an even million.

SLOC    Directory       SLOC-by-Language (Sorted)
16000   Plugins         objc=16000
8244    QLabFoundation  objc=7022,cpp=1080,ansic=142
6236    Controller Classes objc=6236
4292    Frameworks      objc=4292
1186    View Classes    objc=1186
628     Model Classes   objc=628
342     Other Sources   ansic=337,objc=5
277     Unit Tests      objc=277
177     Docs            php=133,sh=44
1       top_dir         sh=1

Totals grouped by language (dominant language first):
objc:         35646 (95.35%)
cpp:           1080 (2.89%)
ansic:          479 (1.28%)
php:            133 (0.36%)
sh:              45 (0.12%)

Total Physical Source Lines of Code (SLOC)                = 37,383
Development Effort Estimate, Person-Years (Person-Months) = 8.96 (107.53)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 1.23 (14.79)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 7.27
Total Estimated Cost to Develop                           = $ 1,210,457
 (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'."

Leave a Reply