better metric? How about the fact that all drupal and joomla sites on shared hosting running slow as fuck, even if they are optimized to hell and back. Wordpress has no such issue whatsoever.
I dumped all joomla shit I had long ago. Not only is it bloated and slow as fuck, it is impossible to plug every god damn security hole in it, and it's only a matter of time before your site is hacked.
not a knock on that link, but I don't really trust many webhosts that are well known or established, a ton of fly by night with a couple of guys running a few servers in their moms basement, just asking for headaches, especially when your customers keep calling asking why their website is always offline
As you wrote; 24% less code is actually very significant considering Wordpress does pretty well with very few plugins (since a big chunk of that extra code is to make things incredibly easy for the user to configure and edit while Drupal requires a lot more work to streamline since the framework itself isn't enough and is much easier to break.
As for the comments, it's dubious to compare them directly without ratio. By ratio of comments to code, Wordpress scores about 4/10 while Drupal is 5/10. That said, I think Wordpress documentation and support is leagues better than Drupal regardless of numerics.
At the end of the day, it's a lot easier to train users to use Wordpress over Drupal, Drupal breaks more easily, Wordpress is a lot faster to deploy. So Wordpress wins for many smaller sites and can be used even for large scale websites depending on what you want to do.
Documentation in Drupal has improved a lot of late and thus is likely on par - the shear scale of the framework within drupal makes it hard to directly compare. For basic content management I'd say Wordpress wins out in that it's a little nicer to install plugins for an admin and content changes/additions is nice and easy. Drupal module installs is a little confusing but the content changes/additions is likely on par with Wordpress with 7.0 due to many UX changes.
Whilst I'd say Wordpress may be a better system for smaller sites, or where admin might want to add some basic plugins, Drupal definately wins out for larger development based sites. Once Drupals framework kicks in and you learn to use the contributed modules correctly Wordpress really falls behind.
I disagree with pretty much your whole comment but that part in particular is incredibly subjective and shouldn't be passed off as fact. I've broken WP far more often than Drupal.
'kay. Well, you probably also understand why I thought it wasn't a good idea to count those tests to Drupal's "weight". That code isn't executed on your live system after all.
Just like no one would count jQuery's tests towards its weight.
21
u/skeww Jan 05 '11 edited Jan 05 '11
Wordpress isn't a lightweight compared to Drupal.
As you can see, Wordpress isn't significantly smaller. Wordpress is merely ~24% less code (with ~38% less comments).
Edit: I didn't include the "test" files, since these are unit tests and the code is never executed on a regular website.