News Feed
Sections




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

DevShed:
Debugging Program Flow with the Xdebug Extension
February 24, 2009 @ 07:56:21

DevShed continues their look at XDebug with the fourth article in their series. This time they look at using the tool to detect code coverage.

The XDebug extension comes equipped with many other functions that allow you to perform all sorts of debugging tasks. So, provided that you're interested in learning a bit more, in this fourth article I'll be explaining how to use the complementary "xdebug_start_code_coverage()" and "xdebug_get_code_coverage()" functions. They can help you keep track of which lines are executed by a specified PHP program.

They include a brief example of how the two functions are used and one a bit more complex wrapped up in a class.

0 comments voice your opinion now!
xdebug extension debug application codecoverage tutorial


blog comments powered by Disqus

Similar Posts

Felix Geisendorfer's Blog: Quick dessert: List all controllers of a CakePHP application

SitePoint.com: WordPress in the Cloud with Amazon EC2 and the Microsoft Web Platform

Volker Dusch's Blog: Dealing with segfaults while PHPUnit code coverage generation for CI

Matthew Weir O'Phinney's Blog: Cgiapp2 Tutorial 2 - Pluggable Applications

MakeBeta Blog: Scraping Links With PHP


Community Events





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


zendserver install package symfony laravel series library framework api deployment language opinion tips update release introduction interview podcast unittest community

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