News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sebastian Bergmann's Blog:
PHPUnit and Software Metrics
August 03, 2007 @ 12:06:00

In a update to his recent post on Cyclomatic Complexity in PHPUnit, Sebastian Bergmann has given more information about the software metrics support that the upcoming release (3.1.6) of PHPUnit will offer.

The upcoming 3.1.6 release of PHPUnit adds a couple of software metrics to the data that is stored in PHPUnit's test database.

Among the metrics gathered are things like: lines of code, commented lines of code, an attribute inheritance factor, depth of inheritance tree, method hiding factor and a polymorphism factor (he links each of these more complex ones for more information on the subject). Still included in the post is an example of the output for the Cyclomatic Complexity metric.

0 comments voice your opinion now!
phpunit software metric level file class method cyclomatic phpunit software metric level file class method cyclomatic


blog comments powered by Disqus

Similar Posts

Sebastian Bergmann's Blog: Article on PHPUnit at IBM DeveloperWorks

SitePoint.com: Software Development? We're Doing it Wrong.

Lorna Mitchell's Blog: PHP REST Server (Part 2 of 3)

PHPClasses.org: Review - Delphi for PHP 2.0

The Bakery: Some ideas to organize your CSS files and autoload them in CakePHP


Community Events





Don't see your event here?
Let us know!


code unittest podcast language install interview framework list opinion threedevsandamaybe introduction laravel developer community refactor wordpress release configure series testing

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework