Using phploc I compared some metrics of TYPO3, Wordpress, Joomla and Drupal using the current stable version of each of them.

Above values are all absolute values. More code leads to a higher ccn. The interesting and comparable values are the following relative values:

As Drupal has only a single class with 89 lines of code (and over 44000 lines of codes organized in function) this values is not really comparable to the other cms.

The avarage method/function in Wordpress, Joomla and TYPO3 has approx. 31 lines of code, which is quite high in my opinion. Drupal's function have only 22 lines of code. Interesting would be to have variance values included in the graph...


This website uses disqus for the commenting functionality. In order to protect your privacy comments are disabled by default.

Enable Comments