teqnomaze/code-coverage 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

teqnomaze/code-coverage

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.16k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固