Skip navigation.

Harold's Home

XML version of this site

PHP Scripts

CLI fun
Mail on 404
HB-NS (NewsScript)


APOD to Desktop
Dreamweaver Extensions


Other stuff
Central Grinder

OOOk Default:

VJ stuff
VJ Tools
Sample Movies


Pushing $100,000
I wasn't quite statisfied with the fact that SLOCcount didn't count css files or javascript files. So I hacked away today and added basic support for those filetypes. The parser is pretty dump as I have just told sloccount to treat these files as C style programming languages but it works on my setup at least.

Here's the revised estimate for Virtual Pet Rock including PHP, JS and CSS.
Totals grouped by language (dominant language first):
objc: 2001 (59.41%)
php: 1144 (33.97%)
css: 195 (5.79%)
javascript: 28 (0.83%)

Total Physical Source Lines of Code (SLOC) = 3,368
Development Effort Estimate, Person-Years (Person-Months) = 0.72 (8.59)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 0.47 (5.66)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 1.52
Total Estimated Cost to Develop = $ 96,690
(average salary = $56,286/year, overhead = 2.40).

Data generated using David A. Wheeler's 'SLOCCount'.

As you can see we are now rapidly approching an estimated devlopment cost of 100,000 dollars. To be fair: I don't make even close to $56,000 a year, despite the fact that the dollar is worth about as much as a pebble these days :)

To celebrate I have created a new Useless Statistics category on this site and I will retroactively modfiy all relevant posts to go into this category.

Show all items | Read all items

About, copyright, privacy and accessibility | Mail