PHPackages                             dmecke/coverage-checker - 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. dmecke/coverage-checker

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

dmecke/coverage-checker
=======================

Check code coverage per namespace.

2.1.0(3y ago)026.4k1[1 PRs](https://github.com/dmecke/coverage-checker/pulls)MITPHPPHP ^7.3|^8.0CI failing

Since Apr 27Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/dmecke/coverage-checker)[ Packagist](https://packagist.org/packages/dmecke/coverage-checker)[ RSS](/packages/dmecke-coverage-checker/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

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

[](#installation)

Install this library by require it via [Composer](https://getcomposer.org):

```
composer require --dev dmecke/coverage-checker

```

Composer will install an executable in its `bin-dir` which defaults to `vendor/bin`.

Usage
-----

[](#usage)

Add a configuration file called `coverage-checker.yaml` to your project root:

```
coverage:
    App: 80
    App\Repository: 50
    App\Domain: 100
```

Run your test suite with clover coverage enabled:

```
phpunit --coverage-clover coverage.xml

```

Run the code coverage check with:

```
vendor/bin/coverage-checker check coverage.xml

```

The script will use a return code &gt; 0 if any code coverage does not meet the specified criteria. This way it can be used in CI.

FAQ
---

[](#faq)

###### Why does the check fail when the coverage is better than defined?

[](#why-does-the-check-fail-when-the-coverage-is-better-than-defined)

If you managed to improve your test coverage you should increase your defined limits. Otherwise you could fall back to a lower coverage again.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance53

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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 ~367 days

Total

5

Last Release

1107d ago

Major Versions

1.0.0 → 2.0.02019-04-27

PHP version history (2 changes)1.0.0PHP ^7.3

2.1.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c90b9c3b8f9655d5093dd1a9e731966a80672d268bcfb397b42564c03e0d720?d=identicon)[dmecke](/maintainers/dmecke)

---

Top Contributors

[![dmecke](https://avatars.githubusercontent.com/u/1172148?v=4)](https://github.com/dmecke "dmecke (9 commits)")[![n0-m4d](https://avatars.githubusercontent.com/u/11576763?v=4)](https://github.com/n0-m4d "n0-m4d (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dmecke-coverage-checker/health.svg)

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

###  Alternatives

[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[codeception/codeception

All-in-one PHP Testing Framework

4.9k86.2M2.9k](/packages/codeception-codeception)[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k15.5M904](/packages/phpro-grumphp)[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)

PHPackages © 2026

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