Difference between revisions of "Statistics"

From OdaWiki
(Lines of code)
(Lines of code)
Line 7: Line 7:
 
LOC is not the best indicator of performance and is included here merely for entertainment value. At this rate (1300 revisions in 6 months), the graph suggests that we shall have no code remaining in 26 months!
 
LOC is not the best indicator of performance and is included here merely for entertainment value. At this rate (1300 revisions in 6 months), the graph suggests that we shall have no code remaining in 26 months!
  
And no, I didn't do this by hand, I used a script:
+
And no, the lines aren't hand-counted by slaves. We find scripts such as the following to be slightly cheaper for this purpose (and please don't flood the server):
  
 
'''for i in `seq 1 13`; do svn update -r $(echo "$i*100"|bc); echo $(cat $(find . -iname "*.cpp") | wc -l) >> loc; done'''
 
'''for i in `seq 1 13`; do svn update -r $(echo "$i*100"|bc); echo $(cat $(find . -iname "*.cpp") | wc -l) >> loc; done'''

Revision as of 01:34, 7 April 2006

This place collects interesting statistics about various aspects of the odamex project

Code

Lines of code

Odamex LinesOfCode.png

LOC is not the best indicator of performance and is included here merely for entertainment value. At this rate (1300 revisions in 6 months), the graph suggests that we shall have no code remaining in 26 months!

And no, the lines aren't hand-counted by slaves. We find scripts such as the following to be slightly cheaper for this purpose (and please don't flood the server):

for i in `seq 1 13`; do svn update -r $(echo "$i*100"|bc); echo $(cat $(find . -iname "*.cpp") | wc -l) >> loc; done

SVN

See the svn page

IRC