View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000470 | Xdebug | Uncategorized | public | 2009-09-08 06:51 | 2009-10-15 17:25 |
| Reporter | sebastian | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Summary | 0000470: catch blocks marked as dead code unless executed | ||||
| Description | Code Coverage marks catch blocks as dead code unless the block is actually hit by an exception. Because of this, PHPUnit marks a method as 100% covered even if there is an untested catch-block. This was originally reported by a PHPUnit user at http://www.phpunit.de/ticket/842. The ticket has a short and self-contained reproducing test case. | ||||
| Tags | No tags attached. | ||||
| Operating System | Not relevant | ||||
| PHP Version | 5.3-dev | ||||