PHPackages                             thingston/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. thingston/coverage-check

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

thingston/coverage-check
========================

Console script to check code coverage using Clover reports.

v1.1.308(2w ago)1619↓100%4MITPHPPHP &gt;=8.1CI passing

Since Jun 7Pushed 2w ago1 watchersCompare

[ Source](https://github.com/thingston/coverage-check)[ Packagist](https://packagist.org/packages/thingston/coverage-check)[ Docs](https://github.com/thingston/coverage-check)[ RSS](/packages/thingston-coverage-check/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (316)Used By (4)

Thingston Coverage Check
========================

[](#thingston-coverage-check)

Console script to check code coverage using Clover reports.

Requirements
------------

[](#requirements)

- PHP 8.1

Instalation
-----------

[](#instalation)

`composer require --dev thingston/coverage-check`

Usage
-----

[](#usage)

From your project root run:

`php vendor/bin/phpcov /path/to/coverage.xml 99`

Or just this one to get more help:

`php vendor/bin/phpcov --help`

Testing
-------

[](#testing)

Available Composer scripts:

- `composer run test` - Runs all tests using PHPUnit.
- `composer run coverage:text` - Runs all tests using PHPUnit and generates a coverage report to the console.
- `composer run coverage:clover` - Runs all tests using PHPUnit and generates an XML coverage report to file `coverage.xml`.
- `composer run coverage:html` - Runs all tests using PHPUnit and generates an XML coverage report to directory `coverage`.
- `composer run coverage:check` - Runs the `coverage:clover` script and checks the code coverage rate (requires &gt;= 90%).
- `composer run analyze` - Runs the PHPStan static analysis and displays the results to the console.
- `composer run cs` - Runs the Code Sniffer static analysis and displays any errors to the console.
- `composer run cbf` - Runs the Code Sniffer code fixer and displays the results to the console.
- `composer run checks` - Runs the scripts `cs`, `analyze` and `coverage:check` and displays the results to the console.

Support
-------

[](#support)

- Issues:
- Documentation:

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance97

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~4 days

Recently: every ~10 days

Total

314

Last Release

16d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/04e91a806958f09ca8b3f4c24c6f5c4bcbce3c4e44dd882fa1e4c737ee7774c6?d=identicon)[pedrobrazao](/maintainers/pedrobrazao)

---

Top Contributors

[![pedrobrazao](https://avatars.githubusercontent.com/u/772193?v=4)](https://github.com/pedrobrazao "pedrobrazao (338 commits)")

---

Tags

phpphpunittestcoverageclover

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

583.5M34](/packages/dvdoug-behat-code-coverage)[leanphp/behat-code-coverage

Generate Code Coverage reports for Behat tests

50359.4k2](/packages/leanphp-behat-code-coverage)[hot/phpunit-runner

The lib allows to watch phpunit tests

2966.7k4](/packages/hot-phpunit-runner)[derptest/phpmachinist

Testing object factory for PHP

3636.3k1](/packages/derptest-phpmachinist)[phpmachinist/phpmachinist

Testing object factory for PHP

3630.7k](/packages/phpmachinist-phpmachinist)[df/php-coverfish

lightweight static code analysis tool for class coverage check of PHPUnit's CodeCoverage

234.9k1](/packages/df-php-coverfish)

PHPackages © 2026

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