View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001088 | Xdebug | Uncategorized | public | 2014-11-16 12:33 | 2014-12-02 21:28 |
Reporter | deeped | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | 7 | ||
Product Version | 2.2.5 | ||||
Fixed in Version | 2.2.7 | ||||
Summary | 0001088: xdebug wont show dead and not executed lines at the 2nd time | ||||
Description | Here is a "test": class TestMe
} class TestMe2
} xdebug_start_code_coverage (XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE); xdebug_start_code_coverage (XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE); the first test runs OK, but at the 2nd time, xdebug_get_code_coverage() just wont show the "unused" and "deadcode" lines, only the rans. If I pass false to xdebug_stop_code_coverage() then it does, but then the covered lines are "summed" so the fact that I forgot to test the test_forgotToCall() function will never turns our. (TestMe calls test_forgotToCall() so it will be covered. But TestMe2 doesnt call it, so test_forgotToCall() must be uncovered, but since TestMe had called it, it just wont turn out | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | |||||
PHP Version | 5.4.2 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2014-11-16 12:33 | deeped | New Issue | |
2014-11-16 12:33 | deeped | File Added: code.gif | |
2014-12-02 21:28 | derick | Note Added: 0002925 | |
2014-12-02 21:28 | derick | Status | new => closed |
2014-12-02 21:28 | derick | Assigned To | => derick |
2014-12-02 21:28 | derick | Resolution | open => fixed |
2014-12-02 21:28 | derick | Fixed in Version | => 2.2.7 |
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 |