As many will know, the developers of the Freespace 2 Open SCP use
Subversion (SVN) to collaboratively write, review and update the source code. Subversion lets us track changes in files, make temporary branches and see recent changes to files - amongst a host of other benefits which source code version control tools provide.
Every time a SCP developer makes a change to one or more related changes to files, we "commit" it to the central version, and of course SVN keeps track of this data.
Over the weekend, I got around to analysing the aggregate SVN change date with the open source
R Project for Statistical Computing. R is a powerful scripted statistical tool, and lets us quickly and easily analyse big datasets for trends.
I used R - following some excellent presentations by
Dirk Eddelbuettel - to produce a summary of the number of commits each Freespace 2 Open developer made to our fs2_open Subversion repository.
Please keep in mind that the pure number of SVN commits doesn't measure the 'contribution' coders make, that's not what I'm trying to show with this graphThe R code to create this, so that anyone can rerun the analysis is below:
system("svn log > fs2_open.svnlog")
x <- readLines("fs2_open.svnlog")
rx <- x[grep("^r[0-9]{1,5} \\|",x)]
who <- gsub(" ","",sapply(strsplit(rx,"\\|"),"[",2))
ctab <- table(who)
dotplot(ctab[order(ctab)],scales=list(x=list()), xlab="", main="Number of fs2_open SVN commits Jan 2007 to Mar 2010")