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:
Towards Better Code Coverage Metrics in the PHP World
June 20, 2011 @ 08:10:57

Sebastian Bergmann has a new post to his blog talking about some of the future plans for better code coverage metrics for PHP applications (not just the statistics that we have now as generated from PHPUnit runs combined with Code_Coverage PEAR package and Xdebug).

Xdebug currently only supports what is usually referred to as Line Coverage. This software metric measures whether each executable line was executed. Based on the line coverage information provided by Xdebug, PHP_CodeCoverage also calculates the Function / Method Coverage software metric that measures whether each function or method has been invoked.

The various kinds of coverage they're planning the in future include statement coverage, branch coverage (boolean evaluation), call coverage, path coverage with an alternative of linear code sequence and jump coverage (LCSAJ).

0 comments voice your opinion now!
codecoverage metrics analyze code xdebug phpunit phpcodecoverage pear


blog comments powered by Disqus

Similar Posts

PEAR Blog: PEAR in March 2010

Greb Beaver\'s Blog: Chiara_PEAR_Server 0.18.4 released

Sebastian Bergmann\'s Blog: PHPUnit Talk at PHP Usergroup Munich

Ken Guest's Blog: The Date_Holidays package, a pack of splitters and a pear tree

Matthew Turland's Blog: PHPUnit and Xdebug on Ubuntu Karmic


Community Events

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


community voicesoftheelephpant introduction security podcast series release interview symfony version extension language library unittest opinion threedevsandamaybe framework laravel5 laravel api

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