View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000992 | Xdebug | public | 2013-10-25 15:23 | 2014-03-05 09:17 | |
| Reporter | chrislondon | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | duplicate | ||
| Platform | Macbook Pro | OS | OS X | OS Version | 10.8.4 |
| Product Version | 2.2.3 | ||||
| Summary | 0000992: Incomplete Code Coverage | ||||
| Description | I'm unable to get complete code coverage in PHPUnit. It appears xdebug is reporting that "break;" and "$var++;" are executable but aren't being executed. I don't think this is a PHPUnit issue. | ||||
| Steps To Reproduce |
| ||||
| Additional Information | Using: | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.4.10-5.4.14 | ||||
|
|
This is the exact bug I reported at http://bugs.xdebug.org/view.php?id=939 . |
|
|
I can't reproduce this, it works just fine for me: http://derickrethans.nl/files/cov/BreakSample.php.html I'm using PHP_CodeCoverage 1.2.13 using PHP 5.4.24-dev and PHPUnit 3.7.28 and Xdebug v2.2.4dev Are you perhaps using an opcode cache, or another PHP version? Can you provide your phpinfo output in a text file? |