PHPackages                             iro88/phpunit-coverage-check - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. iro88/phpunit-coverage-check

ActiveLibrary[Testing &amp; Quality](/categories/testing)

iro88/phpunit-coverage-check
============================

Tool to check phpunit code coverage

1.0.4(7y ago)513.8k3MITPHPPHP &gt;=7.0

Since Aug 21Pushed 7y ago2 watchersCompare

[ Source](https://github.com/iro88/phpunit-coverage-check)[ Packagist](https://packagist.org/packages/iro88/phpunit-coverage-check)[ RSS](/packages/iro88-phpunit-coverage-check/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/817558b2fdafa9ee65b7b21abb679bb3fef46d02e984190a67c62ad55c613dfd/68747470733a2f2f706f7365722e707567782e6f72672f69726f38382f706870756e69742d636f7665726167652d636865636b2f762f737461626c65)](https://camo.githubusercontent.com/817558b2fdafa9ee65b7b21abb679bb3fef46d02e984190a67c62ad55c613dfd/68747470733a2f2f706f7365722e707567782e6f72672f69726f38382f706870756e69742d636f7665726167652d636865636b2f762f737461626c65)[![Travis CI](https://camo.githubusercontent.com/baf5464a0fd322c9af98b09aeb49a47b3cf165d7b5bb060ef3a523f4aa5a17e4/68747470733a2f2f7472617669732d63692e6f72672f69726f38382f706870756e69742d636f7665726167652d636865636b2e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/baf5464a0fd322c9af98b09aeb49a47b3cf165d7b5bb060ef3a523f4aa5a17e4/68747470733a2f2f7472617669732d63692e6f72672f69726f38382f706870756e69742d636f7665726167652d636865636b2e7376673f6272616e63683d6d6173746572)

PHPUnit coverage check tool
===========================

[](#phpunit-coverage-check-tool)

Installation
------------

[](#installation)

```
composer require --dev iro88/phpunit-coverage-check
```

Example usage
-------------

[](#example-usage)

#### Check based on text output

[](#check-based-on-text-output)

```
# using stream
set -o pipefail && phpunit | phpunit-coverage-check --format=text 85.00

# ...with verbose mode to see phpunit output
set -o pipefail && phpunit | phpunit-coverage-check --format=text -v 85.00

# or file
phpunit-coverage-check --format=text 85.00 ./path/to/raport.txt
```

#### Check based on Clover XML file

[](#check-based-on-clover-xml-file)

```
phpunit-coverage-check --format=clover 85.00 ./path/to/clover.xml
```

#### Check based on Html report

[](#check-based-on-html-report)

```
phpunit-coverage-check --format=html 85.00 ./path/to/html/index.html
```

#### For more info

[](#for-more-info)

```
phpunit-coverage-check --help
```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 90.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~36 days

Recently: every ~71 days

Total

9

Last Release

2902d ago

Major Versions

0.1.4 → 1.0.02017-08-25

PHP version history (2 changes)0.1.0PHP ^7.0

1.0.3PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/52a99858fcb9e3358a28d325ae7bf3a18b72b024bf3173448cc83decd8a778e4?d=identicon)[iro88](/maintainers/iro88)

---

Top Contributors

[![iro88](https://avatars.githubusercontent.com/u/3327480?v=4)](https://github.com/iro88 "iro88 (20 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (2 commits)")

---

Tags

phpunitcicode coverage

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/iro88-phpunit-coverage-check/health.svg)

```
[![Health](https://phpackages.com/badges/iro88-phpunit-coverage-check/health.svg)](https://phpackages.com/packages/iro88-phpunit-coverage-check)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[nette/tester

Nette Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏

4917.3M1.5k](/packages/nette-tester)[rregeer/phpunit-coverage-check

Check the code coverage using the clover report of phpunit

606.1M179](/packages/rregeer-phpunit-coverage-check)[robiningelbrecht/phpunit-coverage-tools

PHPUnit coverage tools

1783.0k34](/packages/robiningelbrecht-phpunit-coverage-tools)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)[hot/phpunit-runner

The lib allows to watch phpunit tests

3066.9k4](/packages/hot-phpunit-runner)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
