View Issue Details

IDProjectCategoryView StatusLast Update
0002160XdebugCode Coveragepublic2023-01-30 11:22
Reporteratanvardo Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version3.2.0 
Summary0002160: 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:
https://github.com/alessandromorelli/path-coverage

Running test with:
XDEBUG_MODE=coverage php -dopcache.enable=false vendor/bin/phpunit --coverage-html coverage --path-coverage

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

Tagscoverage
Operating System
PHP Version8.2-dev

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-01-30 11:22 atanvardo New Issue
2023-01-30 11:22 atanvardo Tag Attached: coverage