为什么xdebug将587和588标记为未执行,而将589标记为已执行? [英] Why xdebug marks 587 and 588 as not executed and 589 as executed?

查看:362
本文介绍了为什么xdebug将587和588标记为未执行,而将589标记为已执行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是有问题的代码块

This is the chunk of code with the issue

这是传说

推荐答案

我了解会发生什么. 586行具有多个条件,并非所有案例都被覆盖,对于那些未覆盖的案例,587和588被列为未执行.

I've understood what happens. The line 586 has multiple conditions and not all cases are covered and for those cases that are not covered 587 and 588 are listed as not executed.

图例应该进行更新,因为会造成混淆.

The legend should be updated though because is confusing.

这篇关于为什么xdebug将587和588标记为未执行,而将589标记为已执行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆