OgreAL on Ohloh.com


13-02-2007 04:35:48

After seeing the tag on the Ogre homepage, I decided to submit OgreAL to [u]ohloh.com[/u] and boy was I surprised by the results!!Codebase.....28,287 LOC
Effort (est.)...7 Person Years
:shock: I'm not sure where they come up with that though, considering that, until last week, I was the only person working on it and the project is less than a year old! I did the math and 28k lines of code over 7 Person years comes out to, about 2 lines of code, per person, per hour! :?


13-02-2007 05:03:31

You haven't written 28,000 lines for the wrapper have you? If so good work that is a quite a lot of code just to get sound into Ogre. Does that include the OpenAL sources as well?


13-02-2007 05:20:03

AH, that makes more sense! I pointed it to the Dagon branch, but somehow in found out about the Eihort branch and total_meltdown's "experimental" branch. So take about 1/3 of those numbers and you'll have it!


13-02-2007 13:18:04

No, that can't be right either! Because it saysGNU General Public License......22 files
GNU Library or "Lesser" GPL.....16 files
Which would be right the right count for the actual library and the demos. :? Now I'm really confused!


13-02-2007 14:24:24

Perhaps it counted the binaries? (Are there binaries in the repo?)

What about the actual license file?

Images? Media? I'm not sure really what it tracks, but there is a lot of stuff in that repository.


14-02-2007 21:45:51

I ran sloccount over a fresh checkout. You having about ~1200 lines of core code and ~1600 of demos. Note the numbers are really inflated because you have some generated shell scripts checked in.

SLOC Directory SLOC-by-Language (Sorted)
8428 root sh=8428
1621 Demos cpp=1621
1237 src cpp=1237
450 include cpp=360,ansic=90
0 lib (none)
0 OgreAL (none)

Totals grouped by language (dominant language first):
sh: 8428 (71.81%)
cpp: 3218 (27.42%)
ansic: 90 (0.77%)

Total Physical Source Lines of Code (SLOC) = 11,736
Development Effort Estimate, Person-Years (Person-Months) = 2.65 (31.86)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 0.78 (9.31)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 3.42
Total Estimated Cost to Develop = $ 358,623
(average salary = $56,286/year, overhead = 2.40)


14-02-2007 22:02:18

Awesome! Good to know! Thanks!