guitarneck/xdebug-coverage
最新稳定版本:1.1.0
Composer 安装命令:
composer require guitarneck/xdebug-coverage
包简介
xdebug coverage reporting tool
README 文档
README
This project is abandoned, and replaced by php-coverage
XDebugCoverage
A PHP framework to run XDebug Code Coverage and get reports of the result.
Table of Contents
Install
composer require guitarneck/xdebug-coverage --dev
Command
$ coverage/coverage tests/Something.test.php [options]
Options
--debug
--excludes=,--excludes,-x The paths to exclude. Separated by ','.
Ex: vendor/,tests/,inc/lib/
--format=,--format,-F The file format to be generated.
--help,-h This help page
--includes=,--includes,-i The paths to include. Separated by ','.
Ex: src/,inc/
--no-extra-filter
--output-path=,--output-path,-p The paths to output. Separated by ','.
Ex: {DIR},..,reports
- {DIR}: __DIR__ ('coverage/sources')
- .. : parent path
configuration
Default configuration can be sets in coverage/sources/XDebugCoverage.json
Using .dot
Grahpviz is open source graph visualization software.
$ dot -Tsvg coverage\\reports\\Hello.dot > Hello.svg
License
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-15