|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001357||Xdebug||Code Coverage||public||2016-10-21 22:46||2016-12-04 18:33|
|Assigned To||derick|| |
|Product Version||2.4.1|| |
|Target Version||Fixed in Version||2.5.0|| |
|Summary||0001357: Line with function signature is reported as being not executed through code coverage|
|Description||When asking for code coverage on a method for which the signature contains the new variadic operator (ie '...'), Xdebug reports the line as being non-executed whereas all other method signatures aren't reported at all.|
This seems to happen only on class methods, functions with the same operator are correctly covered.
|Steps To Reproduce||1° Run the attached file 'test.php'|
2° Line 6 is marked with '-1' which states for "not executed"
|Additional Information||I saw this issue for the first time using the atoum test runner. I first opened an issue there ( https://github.com/atoum/atoum/issues/666 [^] ) before I analyzed the output of Xdebug.|
|Tags||No tags attached.|
|Operating System||Linux Debian Jessie|
|Attached Files|| test.php [^] (382 bytes) 2016-10-21 22:46|
atou-coverage.png [^] (70,702 bytes) 2016-10-21 22:49