View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002160 | Xdebug | Code Coverage | public | 2023-01-30 11:22 | 2023-11-03 11:19 |
Reporter | atanvardo | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 3.2.0 | ||||
Target Version | 3.4dev | ||||
Summary | 0002160: Path coverage data non collected from from generators | ||||
Description | It seems that when code is executed through a generator the path coverage is not collected. I've prepared an example showcasing the problem: Running test with: produces no path coverage data in the generator case, while line and branch data ara collected normally | ||||
Additional Information | PHP version is actually 8.2 | ||||
Tags | coverage | ||||
Operating System | |||||
PHP Version | 8.2.0-8.2.9 | ||||
|
I can confirm this. Xdebug's path analysis does not understand generators yet. This is going to be a fairly mayor undertaking to address, so punting this out as a 'feature' for Xdebug 3.3. |
|
Sorry, I'm going to have to bump this to 3.4. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-01-30 11:22 | atanvardo | New Issue | |
2023-01-30 11:22 | atanvardo | Tag Attached: coverage | |
2023-05-24 14:19 | derick | Assigned To | => derick |
2023-05-24 14:19 | derick | Status | new => confirmed |
2023-05-24 14:19 | derick | Note Added: 0006559 | |
2023-05-24 14:20 | derick | Target Version | => 3.3dev |
2023-05-24 14:20 | derick | PHP Version | 8.2-dev => 8.2.0-8.2.9 |
2023-11-03 11:19 | derick | Target Version | 3.3dev => 3.4dev |
2023-11-03 11:19 | derick | Note Added: 0006668 |