View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001381 | Xdebug | Code Coverage | public | 2017-01-02 20:30 | 2017-01-04 11:18 |
Reporter | exussum | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 16.10 |
Product Version | 2.4.0 | ||||
Target Version | 2.5.1 | Fixed in Version | 2.5.1 | ||
Summary | 0001381: Code Coverage misses line due to missing FETCH_DIM_W overload | ||||
Description | http://i.imgur.com/Uu88Ad7.png Code coverage misses line 30 due to the following When code is not run
When code IS run
| ||||
Steps To Reproduce | Run code in a similar format FETCH_DIM_W seems to be missed | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | |||||
PHP Version | 7.0.5-7.0.9 | ||||
|
30 37 FETCH_DIM_W $20 !0, !2 output from VLD |
|
Upgraded to master branch PHP 7.0.8-3ubuntu3 (cli) ( NTS ) The line is still uncovered https://3v4l.org/dlHWj/vld#output line 32 is the problematic line (same content as line 30 in the screenshot) New screenshot http://i.imgur.com/vXOqLRq.png |
|
Can you please share the whole file, and add that to this report? Just a snippet is not going to be enough for me to try and find this. |
|
The whole file is on the 3v4l link |
|
I can't look at 3v4l.org links when I'm on a plane without Internet access ;-) Please, just add it here. As well as screenshots as attachments. |
|
Attached, I cant see how to edit the report to bump the xdebug version number |
|
added 2 files, broken.php and broken2.php if you run broken.php you should get '/tmp/broken2.php' => 11 is the line which is wrong and should be run |
|
For info tried this on an older PHP/xdebug version too, same result PHP 5.6.29-0+deb8u1 (cli) (built: Dec 13 2016 16:02:08) |
|
Thanks, I'm having a look. |
|
Just built from master, All looking good :) Thanks for the quick fix! |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-01-02 20:30 | exussum | New Issue | |
2017-01-02 20:43 | exussum | Note Added: 0004104 | |
2017-01-02 21:52 | exussum | Note Added: 0004105 | |
2017-01-03 15:21 | derick | Note Added: 0004107 | |
2017-01-03 15:21 | derick | Assigned To | => derick |
2017-01-03 15:21 | derick | Status | new => feedback |
2017-01-03 15:24 | exussum | Note Added: 0004109 | |
2017-01-03 15:24 | exussum | Status | feedback => assigned |
2017-01-03 15:29 | derick | Note Added: 0004111 | |
2017-01-03 15:29 | derick | Status | assigned => feedback |
2017-01-03 15:42 | exussum | File Added: XMLReport.php | |
2017-01-03 15:42 | exussum | Note Added: 0004112 | |
2017-01-03 15:42 | exussum | Status | feedback => assigned |
2017-01-03 15:44 | exussum | File Added: vXOqLRq.png | |
2017-01-03 15:45 | exussum | File Added: Original Report.png | |
2017-01-03 15:46 | exussum | Note Edited: 0004112 | |
2017-01-03 21:22 | exussum | File Added: broken.php | |
2017-01-03 21:22 | exussum | File Added: broken2.php | |
2017-01-03 21:23 | exussum | Note Added: 0004144 | |
2017-01-03 21:29 | exussum | Note Added: 0004145 | |
2017-01-04 10:07 | derick | Note Added: 0004149 | |
2017-01-04 10:07 | derick | Status | assigned => acknowledged |
2017-01-04 10:30 | derick | Status | acknowledged => assigned |
2017-01-04 10:30 | derick | Target Version | => 2.5.1 |
2017-01-04 10:30 | derick | Summary | Code Coverage misses line => Code Coverage misses line due to missing FETCH_DIM_W overload |
2017-01-04 10:41 | derick | Status | assigned => closed |
2017-01-04 10:41 | derick | Resolution | open => fixed |
2017-01-04 10:41 | derick | Fixed in Version | => 2.5.1 |
2017-01-04 11:18 | exussum | Note Added: 0004154 |