[xdebug-general] Re: Uncovered empty lines

From: Derick Rethans <derick[@]xdebug.org>
Date: Sat, 21 Nov 2009 13:13:48 +0000 (GMT)

Hi,

On Sat, 21 Nov 2009, Nagy PĂ©ter wrote:

> I need adice how to avoid the situation you can see in my blog post
> below:
> http://ant-ronin.blogspot.com/search/label/PHP
> The problem I'm facing is that the lines at the end of an if..else
> branch and containing only a closing bracket("}") are reported untested
> by xdebug.
> This is a slight problem but make impossible to reach 100% code coverage
> if you are using Zend code style, which requires to have that closing
> bracket in an own line.
> Do you know any practice to avoid that situation?

We have the same coding standards in eZ Components, where this is not a
problem. Which Xdebug version are you running?

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Sat Nov 21 2009 - 14:13:49 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST