codebtech/coveragebadge 问题修复 & 功能扩展

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

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

codebtech/coveragebadge

最新稳定版本:v0.3.7

Composer 安装命令:

composer require codebtech/coveragebadge

包简介

Creates code coverage badge from Clover XML files.

README 文档

README

PHP lint & test PHP Code Coverage Packagist dowloads

CoverageBadge is a PHP library for creating SVG coverage badges from Clover XML files.

Installation

composer require codebtech/coveragebadge --dev

Features

  • Produces a code coverage badge utilizing a Clover coverage XML file
  • Creates a code coverage badge from several Clover XML files, automatically incorporating the coverage percentages
  • Accepts a coverage name as an input to include in the generated badge

Usage

  • Execute the command to generate badge for single Clover XML input
vendor/bin/coverage-badge /path/to/clover.xml /path/to/badge/destination.svg test-name
  • To blend multiple Clover files, enumerate the XML inputs separated by commas and use the command
vendor/bin/coverage-badge /path/to/clover.xml,/path/to/clover2.xml /path/to/badge/destination.svg test-name

Acknowledgements

This library is inspired by JASchilz/PHPCoverageBadge

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-30