News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Sebastian Bergmann's Blog:
PHPUnit and Cyclomatic Complexity
August 02, 2007 @ 07:56:00

Sebastian Bergmann mentions today about a feature in an upcoming release of a popuular unit testing tool for PHP, PHPUnit - the addition of more software metrics.

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 these metrics is the Cyclomatic Complexity Number (CCN).

An example of how the CCN works is shown in the post giving the className, methodName and the complexity ranking given for the combination. His example shows the rankings for a part of the eZ Components software.

0 comments voice your opinion now!
phpunit unittest cyclomatic complexity database software metrics phpunit unittest cyclomatic complexity database software metrics



Similar Posts

Sebastian Bergmann's Blog: Hamcrest

Sebastian Bergmann's Blog: Isolated (and Parallel) Test Execution

Sebastian Bergmann's Blog: Japanese Documentation for PHPUnit

Debuggable Blog: Unit Testing in CakePHP Part 1 - Introduction to Unit Testing

Sebastian Bergmann's Blog: PHPUnit and Software Metrics


Community Events







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


framework cakephp ajax book security zend zendframework releases developer PEAR database PHP5 job application mysql example release package conference code

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