jmrieger / php-code-coverage

Library that provides collection, processing, and rendering functionality for PHP code coverage information.
Other
0 stars 0 forks source link

Bugfix: Path & Branch coverage mis-reported #32

Open jmrieger opened 5 years ago

jmrieger commented 5 years ago

See output in #29. There's no way we can only cover 12 of 935 lines in Assert.php but have 100% branch and path coverage.

jmrieger commented 5 years ago

Actually, for now, this appears to be correct based on the behavior of Xdebug. I'm going to dig in a little more to confirm expected behavior.

jmrieger commented 5 years ago

Edit: It's not correct behavior. Working on getting a reproducible test case.

jmrieger commented 5 years ago

Okay, I'm officially running into behavior I can't explain. Created a ticket in XDebug with a reproducible example (via Docker): https://bugs.xdebug.org/view.php?id=1674