[xdebug-general] Re: xdebug_get_code_coverage - shows all 1's

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 17 Jan 2007 21:13:34 +0100 (CET)

On Wed, 17 Jan 2007, Sam Keen wrote:

> hello, (me again)
> Running PHP 5.2.0 on an OSX 10.4.8 PPC.
> I just did a cvs install of xdebug v2.0.0RC3-dev
>
> I was wanting to use the xdebug_get_code_coverage function but it
> seems to return coverage of '1' for each line no matter what. I even
> tried the example but got all 1's

In the default setting it will only return all the lines that are being
executed. What did you expect to see?

regards,
Derick
Received on Wed Jan 17 2007 - 21:14:46 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST