I've updated and expanded the slides which I presented at DrupalCon 2010 San Francisco.
I'm now including some preliminary stats for Django (a python based framework), and at the request of @easement (Michael Billings) ground out stats on global variable use in Drupal releases from 4.6 through 7x.
Update: Antoine Beaupré (anarcat) kindly pointed out to me that my LoC slide for Drupal releases was pointing at the wrong numbers (off by one error in indexing!). This is now updated. I'm also posting the spreadsheet itself.
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.