PHP的代码覆盖率工具 [英] Code Coverage tools for PHP

查看:126
本文介绍了PHP的代码覆盖率工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有适用于PHP的代码覆盖工具? 我希望检查我的代码和用PHP编写的API的代码覆盖率,但是由于涉及到服务器端语言且本质上是动态的,因此无法使用任何PHP的代码覆盖率工具.

Is there any code coverage tool available for PHP? I wish to check the code coverage of my code and API's written in PHP, but have not been able to lay my hands on any code coverage tool for PHP, as it is more of a server side language and dynamic in nature.

有人知道一种可以执行PHP代码覆盖率的方法吗?

Does anyone know of a method by which code coverage for PHP can be executed?

推荐答案

xdebug 具有检查本章

这篇关于PHP的代码覆盖率工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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