View Issue Details

IDProjectCategoryView StatusLast Update
0000470XdebugUncategorizedpublic2009-10-15 17:25
Reportersebastian Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0000470: 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.

TagsNo tags attached.
Operating SystemNot relevant
PHP Version5.3-dev

Activities

derick

2009-10-15 17:25

administrator   ~0001092

Fixed in CVS (HEAD only)

Issue History

Date Modified Username Field Change
2009-09-08 06:51 sebastian New Issue
2009-09-08 06:51 sebastian Operating System => Not relevant
2009-09-08 06:51 sebastian PHP Version => 5.3-dev
2009-09-08 06:51 sebastian Xdebug Version => 2.1.0-dev
2009-10-15 17:25 derick Note Added: 0001092
2009-10-15 17:25 derick Status new => closed
2009-10-15 17:25 derick Resolution open => fixed
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