Drupal code stats - preliminary


The image at left is a slide from a deck I'm putting together for possible lightning talk at DrupalCon SF. So far there are 11 slides showing the historical complexity of Drupal in terms of some simple metrics, and comparisons with the current release of Joomla!. The point of this is to try to understand the complexity of Drupal, both historically and in comparison with other frameworks, in terms of software metrics.

Comments, questions, pointers, and insights/opinions are very welcome.

BTW - The Joomla metrics (and the Drupal 7x) metrics are probably not quite right, yet - this is a work in progress. I'm working on metrics for Wordpress and a few other platforms also.

UpdateI presented this at DCSF - thanks to everyone who commented and discussed this with me. The attached file is slides as presented Sat Apr 17, 2010.

AttachmentSize
Drupal-Stats.pdf207.79 KB

Comments

Hey Roland!

All of the graphics are just Numbers charts from basic spreadsheets. Count on Apple for slick looking output :)

The stats themselves come from the command-line version of my Codemetrics module, part of the Broccoli project that you probably recall. I just went looking for a link, and it looks like various posts have vanished due to lack of permalinks, so here is a re-post of some presentation slides that give a bit of background.

I just point codemetrics at a directory full of code and let it grovel through and count stuff. It currently outputs a variety of formats, including plain text, HTML, and JSON. In the next few days I'm going to tweak it to generate output I can feed directly into the open-source R project (my new friend) for more interesting statistical analysis.

The JSON output is interesting - the plan was to be able to directly produce things like this exhibit, getting a bit old now, but still showing some interesting potential applications.

I'm looking forward to improved capabilities for displaying visualizations in HTML5.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.

More information about formatting options