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 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


blog comments powered by Disqus

Similar Posts

James Morris: PHPUnit Mocking and Method Chaining

David Coallier's Blog: Simple DBAL, PHP5, Light, Fast, Simple.

Job Posting: SQLFusion Seeks Senior PHP/Javascript Software Dev (Redondo Beach, CA/Telecommute)

Mike Lively's Blog: PHPUnit Database Extension (DBUnit Port)

Padraic Brady's Blog: The Mockery: An Independent Mock Object and Stub Framework for PHP5


Community Events





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


release opinion framework package language symfony tips community podcast library list install voicesoftheelephpant api series laravel deployment interview introduction bugfix

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