View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001192 | Xdebug | Uncategorized | public | 2015-10-23 12:39 | 2015-11-05 15:08 |
Reporter | Gisleburt | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | Virtual Box | OS | Ubuntu | OS Version | 14.04 |
Product Version | 2.3.2 | ||||
Fixed in Version | 2.4.0beta1 | ||||
Summary | 0001192: Dead code analysis does not work for generators with 'return;' | ||||
Description | There seems to be an issue where code that should be marked as "Dead Code", is marked as "Uncovered" when using an early return in a generator. | ||||
Steps To Reproduce | composer.json
test.php
Reproduce
Result Version
| ||||
Additional Information | This bug also reported at https://github.com/sebastianbergmann/php-code-coverage/issues/392 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | |||||
PHP Version | 5.6.10-5.6.14 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-10-23 12:39 | Gisleburt | New Issue | |
2015-10-23 12:39 | Gisleburt | File Added: 2015-10-23 13_31_24-Code Coverage for _www_test_test.php.png | |
2015-10-25 10:40 | derick | Note Added: 0003195 | |
2015-10-25 10:40 | derick | Assigned To | => derick |
2015-10-25 10:40 | derick | Status | new => confirmed |
2015-10-26 20:39 | derick | Note Added: 0003196 | |
2015-10-26 20:39 | derick | Status | confirmed => closed |
2015-10-26 20:39 | derick | Resolution | open => fixed |
2015-10-26 20:39 | derick | Fixed in Version | => 2.3.4 |
2015-10-26 20:40 | derick | Summary | Coverage of early return in generators => Dead code analysis does not work for generators with 'return;' |
2015-11-05 15:08 | derick | Fixed in Version | 2.3.4 => 2.4.0beta1 |
2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |