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:
Code Coverage Dashboard
April 05, 2010 @ 09:28:00

In a new post to his blog Sebastian Bergmann talks about a new "dashboard view" that's been added to work with the PHPUnit testing suite - PHP_CodeCoverage. He talks more about what it has to offer:

PHP_CodeCoverage is a library that provides collection, processing, and rendering functionality for PHP code coverage information. Its architecture has support for multiple backends for collecting code coverage information (currently only support for Xdebug is implemented) and for reporting code coverage information (for instance using Clover XML or as an HTML report).

The dashboard shows the code's class coverage distribution, class complexity, top project risks and the least tested methods to help you narrow down potential issues in your application. Here's an example of the output.

0 comments voice your opinion now!
codecoverage phpunit phpcodecoverage dashboard


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Unit Testing: One Test, One Assertion - Why It Works

Zend Developer Zone: Creating Code Coverage Statistics with xdebug

Matthew Weier O'Phinney: Testing Code That Emits Output

Sebastian Bergmann's Blog: Generating Code from Tests

Stefan Koopmanschap's Blog: A first look at Zend Server


Community Events





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


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

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