View Issue Details

IDProjectCategoryView StatusLast Update
0000470XdebugUsage problems (Wrong Results)public2009-10-15 17:25
ReportersebastianAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000470: catch blocks marked as dead code unless executed
DescriptionCode 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)