Difference between revisions of "SLOCCount"

From BattleMaster Wiki
Jump to navigation Jump to search
(update to today)
(update to 2009 numbers)
Line 5: Line 5:
 
In other words: If you want to make your own BattleMaster, commercially, here's what you have to calculate for investment:
 
In other words: If you want to make your own BattleMaster, commercially, here's what you have to calculate for investment:
  
  Total Physical Source Lines of Code (SLOC)                = 44,937
+
  Total Physical Source Lines of Code (SLOC)                = 56,237
  Development Effort Estimate, Person-Years (Person-Months) = 10.87 (130.45)
+
  Development Effort Estimate, Person-Years (Person-Months) = 13.76 (165.10)
 
   (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
 
   (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
  Schedule Estimate, Years (Months)                        = 1.33 (15.92)
+
  Schedule Estimate, Years (Months)                        = 1.45 (17.41)
 
   (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
 
   (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
  Estimated Average Number of Developers (Effort/Schedule)  = 8.20
+
  Estimated Average Number of Developers (Effort/Schedule)  = 9.49
  Total Estimated Cost to Develop                          = $ 1,468,507
+
  Total Estimated Cost to Develop                          = $ 1,858,510
 
   (average salary = $56,286/year, overhead = 2.40).
 
   (average salary = $56,286/year, overhead = 2.40).
  
  
 
That's the game alone, no hosting, graphics or other stuff. And most importantly: This doesn't include the creation of the game worlds with all their regions, the maps, the manual and other documentation, etc. That's just the code.
 
That's the game alone, no hosting, graphics or other stuff. And most importantly: This doesn't include the creation of the game worlds with all their regions, the maps, the manual and other documentation, etc. That's just the code.

Revision as of 13:14, 27 April 2009

Every once in a while, I (Tom) run David A. Wheeler's SLOCCount on the BattleMaster code, just to get a warm and fuzzy feeling.

SLOCCount (unsurprisingly) counts the Source lines of code (SLOC) and then does some calculations to get a very rough estimate of how long it would take and how much it would cost to replicate (i.e. write it all again) the program.

In other words: If you want to make your own BattleMaster, commercially, here's what you have to calculate for investment:

Total Physical Source Lines of Code (SLOC)                = 56,237
Development Effort Estimate, Person-Years (Person-Months) = 13.76 (165.10)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months)                         = 1.45 (17.41)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 9.49
Total Estimated Cost to Develop                           = $ 1,858,510
 (average salary = $56,286/year, overhead = 2.40).


That's the game alone, no hosting, graphics or other stuff. And most importantly: This doesn't include the creation of the game worlds with all their regions, the maps, the manual and other documentation, etc. That's just the code.