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 |
| Reporter | krtek | Assigned To | derick | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 2.4.1 | ||||
| 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' | ||||
| 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. | ||||
| Attached Files | |||||
| Operating System | Linux Debian Jessie | ||||
| PHP Version | 7.0.10-7.0.14 | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 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 |