View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001357||Xdebug||Code Coverage||public||2016-10-21 21:46||2016-12-04 18:33|
|Fixed in Version||2.5.0|
|Summary||0001357: Line with function signature is reported as being not executed through code coverage|
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'
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|
|2016-10-21 21:46||krtek||New Issue|
|2016-10-21 21:46||krtek||File Added: test.php|
|2016-10-21 21:49||krtek||File Added: atou-coverage.png|
|2016-11-16 13:27||derick||Note Added: 0003749|
|2016-11-16 13:27||derick||Status||new => closed|
|2016-11-16 13:27||derick||Assigned To||=> derick|
|2016-11-16 13:27||derick||Resolution||open => fixed|
|2016-11-16 13:27||derick||Fixed in Version||=> 2.5.0RC2|
|2016-12-04 17:55||derick||Category||Usage problems (Wrong Results) => Code Coverage|
|2016-12-04 17:55||derick||Summary||CodeCoverage - Line with function signature is reported as being not executed => Line with function signature is reported as being not executed through code coverage|
|2016-12-04 18:33||derick||Fixed in Version||2.5.0RC2 => 2.5.0|