定制 teqnomaze/code-coverage 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

teqnomaze/code-coverage

最新稳定版本:v1.1.0

Composer 安装命令:

composer require teqnomaze/code-coverage

包简介

Check for the code coverage using the clover report of phpunit.

README 文档

README

A composer package for checking code coverage score in percentage using the clover.xml report of phpunit.

Code Analysis

Installation

This can be installed using Composer.

composer require teqnomaze/code-coverage --dev

Usage

Run the coverage check script which accepts 2 parameters to return coverage result.

  1. The location of clover.xml file, that's generated by phpunit.
  2. The coverage threshold percentage that's acceptable (Min = 1, Max = 100). Default is 80
vendor/bin/code-coverage ./build/clover.xml 90

Changelog

1.1.0

  • Added getters and setters
  • Added color styling for the output

1.0.0

  • Created initial version.

License

This project is licensed under the MIT License. See LICENSE for more information.

统计信息

  • 总下载量: 1.01k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-27