On Sun, 5 Dec 2004, Derick Rethans wrote:
> On Sun, 5 Dec 2004, Michiel Rook wrote:
>
> > > Hmm, I don't see why the array above is wrong (except for the 3/4 line
> > > no thing). Can you explain?
> >
> > As I understand it, XDEBUG_CC_UNUSED is there to indicate which
> > sourcelines are executable but not executed. In my example, the entire
> > class is not executed, but this is not shown. For XDEBUG_CC_UNUSED to be
> > usable (for me / the code coverage tasks in Phing) I need this
> > information.
>
> Ah, now I see it. This is a bug in Xdebug I think. I will have a look at
> fixing it.
Fixed in CVS, but Xdebug can only detect it once code coverage is
started. This means that it will NOT try to detect executable code in
classes, methods and functions in the file where xdebug_code_coverage()
was started, unless they are used.
Please test it throughly! (Also by calling the same function twice...
etc)
Derick
-- Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.orgReceived on Tue Dec 14 2004 - 11:47:45 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST