Top Topic ?

phpDepend and php frameworks

Posted in php, qa by Ladislav Prskavec on March 21, 2009

Php Depend

Php Depend is php fork of JDepend. pDepend traverses Php class file directories and generates design quality metrics for each php package. At chart you can see abstractness and instability at axis. This metric is an indicator of the package’s balance between abstractness and stability. At pyramid some data as  NOP (number of packages), NOC (number of classes), NOM (number of methods), LOC (line of code). Details about pyramid you find at Using the Overview Pyramid.  

Php Frameworks in Php Depend

Akelos

akelos-jdepend

akelos-pyramid

CakePHP

cake-jdepend

 

cake-pyramid

CodeIgniter

ci171-jdepend

 

ci171-pyramid

Kohana

kohana-jdepend

 

kohana-pyramid

 

Nette

nette-jdepend

 

nette-pyramid

Prado3

prado3-jdepend

 

prado3-pyramid

Symfony 1.2

sf12-jdepend

 

sf12-pyramid

Solar

solar-jdepend

 

solar-pyramid

Zend Framework

zend-jdepend

 zend-pyramid

 

Others

Ez components

ez-jdepend

 

ez-pyramid

Summary

I’m not expert in QA. I have some experiences with integration php. I use phpunit, phpcs and Hudson for CPD, PMD, Code Coverage and Unit testing. For integration tests we use Selenuim and phpunit. Php Depend is good for some comparism between frameworks. Matrics can’t say how good is code in framework or if is good  for my project. Some numbers as ANDC (Average Number of Derived Classes) and AHH (Average Hierarchy Height) can give some image about programming style.

In article you have some comparism and i make this test every 6 months and after that will be results about progress in frameworks.

Advertisements
Tagged with: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: