|View Issue Details [ Jump to Notes ] ||[ Issue History ] [ Print ] |
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000470||Xdebug||Usage problems (Wrong Results)||public||2009-09-08 07:51||2009-10-15 18:25|
|Assigned To|| |
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Product Version|| |
|Target Version||Fixed in Version|| |
|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|