[xdebug-general] Re: Incorrect code coverage reading from Xdebug 2.0.0 Beta 2

From: Derick Rethans <derick[@]xdebug.org>
Date: Tue Apr 26 2005 - 13:29:39 CEST

On Wed, 20 Apr 2005, Nimish Pachapurkar wrote:

> Does this mean that there is no plan to actually get the frequency working
> like it used to in the earlier version?

Correct, it's quite impossible to do correctly.

> Does -1 mean that the line is executable PHP code line but is not
> being exercised at all?

Yes.

> Also, can you explain a little as to why is it very hard to get the frequency
> of execution right?

Because for example you can have multiple statements on a line, this
would already count for two hits in the frequency table.

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general[@]lists.xdebug.org
Received on Tue Apr 26 13:32:21 2005

This archive was generated by hypermail 2.1.8 : Wed Jan 07 2009 - 20:00:18 CET