Home › Forums › General › Is there a Open Source PHP Code Coverage Testing Tool ? › Reply To: Is there a Open Source PHP Code Coverage Testing Tool ?
Good that you asked!
SpikeSource has open sourced a code coverage measurement and reporting tool for PHP. This tool, called Spike PHPCoverage, can instrument and record the line coverage information for PHP scripts at runtime.
Spike PHPCoverage works on PHP 5.0 or newer and uses Xdebug Extension for gathering the coverage data.
The tool is still in version 0.6 with a lot of room for improvement. It is available as an open source project on <a href=”http://sourceforge.net/projects/phpcoverage/”>SourceForge.net</a>. Please visit <a href=”http://www.spikesource.com/projects/phpcoverage/”>http://www.spikesource.com/projects/phpcoverage/</a> for more information, screen shots, and feedback.
I have been working on this tool. So let me know your feedback.
Nimish (npac <i>at</i> spikesource <i>dot</i> com)