View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000323 | Xdebug | Uncategorized | public | 2007-10-23 19:51 | 2007-10-27 17:02 |
Reporter | tobyS | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | not fixable | ||
Summary | 0000323: Code coverage indicated incorrectly | ||||
Description | As seen in the snip, all relevant lines are executed 154 times (correctly) and some are unreachable (logically), but the closing brace of the ternary is not recognized to be either and marked as not executed. PHP version is actually 5.2.4. | ||||
Additional Information | From a code coverage report of PHPUnit: <snip> | ||||
Tags | No tags attached. | ||||
Operating System | Gentoo (but manually compiled PHP stuff) | ||||
PHP Version | 5.2-dev | ||||
|
There is not much that I can do about it, the line numbers that the engine reports here totally make no sense. I simplified the code to: 1 <?php The generated opcodes are: line # op fetch ext return operands2 0 EXT_STMT As you can see, the assignments (op 5 and 7) are done on the line after the actual "assignment" (7 and 8 instead of 6 and 7). |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-10-23 19:51 | tobyS | New Issue | |
2007-10-27 17:02 | derick | Status | new => resolved |
2007-10-27 17:02 | derick | Resolution | open => not fixable |
2007-10-27 17:02 | derick | Assigned To | => derick |
2007-10-27 17:02 | derick | Note Added: 0000765 | |
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 |