View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000490 | Xdebug | Uncategorized | public | 2009-11-20 14:05 | 2009-11-23 12:11 |
Reporter | rdohms | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Platform | MAC | OS | OSX | OS Version | 10.6 |
Product Version | 2.0.0dev | ||||
Summary | 0000490: Code Coverage Skips line with -= Operator | ||||
Description | When executing a code that uses a -= operator that line is not tagged as executed, even though it is. | ||||
Steps To Reproduce | <?php xdebug_start_code_coverage(); class CodeCoverageBug
} $c = new CodeCoverageBug(); var_dump(xdebug_get_code_coverage()); | ||||
Additional Information | output: Expected output Line 12 which is the line with the operator is not tagged as executed, even further when using XDEBUG_CC_UNUSED it returns as -1 | ||||
Tags | No tags attached. | ||||
Operating System | Mac OSX 10.6 | ||||
PHP Version | 5.3.0 | ||||
|
I really need the script as well to go with this bug. |
|
Mantis is not giving me the option to attach a file, so the code is here: http://pastebin.com/f608c0ec2 |
|
I get the correct result — try latest CVS please? array(1) { |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-11-20 14:05 | rdohms | New Issue | |
2009-11-20 14:05 | rdohms | Operating System | => Mac OSX 10.6 |
2009-11-20 14:05 | rdohms | PHP Version | => 5.3.0 |
2009-11-20 14:05 | rdohms | Xdebug Version | => 2.0.5 |
2009-11-22 20:12 | derick | Note Added: 0001169 | |
2009-11-22 20:12 | derick | Status | new => feedback |
2009-11-23 03:18 | rdohms | Note Added: 0001172 | |
2009-11-23 12:11 | derick | Note Added: 0001173 | |
2009-11-23 12:11 | derick | Status | feedback => resolved |
2009-11-23 12:11 | derick | Resolution | open => unable to reproduce |
2009-11-23 12:11 | derick | Assigned To | => derick |
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 |