PHPackages                             aeliot-tm/phpunit-codecoverage-baseline - 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. aeliot-tm/phpunit-codecoverage-baseline

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

aeliot-tm/phpunit-codecoverage-baseline
=======================================

Script for the comparing of current code coverage with baseline.

2.2.0(2w ago)23.3k1MITPHPPHP ^7.1|^8.0CI passing

Since Jan 25Pushed 2w ago1 watchersCompare

[ Source](https://github.com/Aeliot-Tm/phpunit-codecoverage-baseline)[ Packagist](https://packagist.org/packages/aeliot-tm/phpunit-codecoverage-baseline)[ RSS](/packages/aeliot-tm-phpunit-codecoverage-baseline/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (12)Versions (18)Used By (1)

PHPUnit code coverage baseline
==============================

[](#phpunit-code-coverage-baseline)

[![Testing](https://github.com/Aeliot-Tm/phpunit-codecoverage-baseline/actions/workflows/automated_testing.yml/badge.svg?branch=main)](https://github.com/Aeliot-Tm/phpunit-codecoverage-baseline/actions)[![Security Audit](https://github.com/Aeliot-Tm/todo-registrar/actions/workflows/security-audit.yaml/badge.svg?branch=main)](https://github.com/Aeliot-Tm/todo-registrar/actions/workflows/security-audit.yaml?query=branch%3Amain)[![GitHub License](https://camo.githubusercontent.com/a825ed6f29eab177ae55f2443686b43a9d9e9c567f4158b85881fd660820febe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f41656c696f742d546d2f746f646f2d7265676973747261723f6c6162656c3d4c6963656e7365266c6162656c436f6c6f723d336333643431)](LICENSE)

Package implements support of baseline for Clover repost of PHPUnit.

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

[](#installation)

1. Call command line script to install as dev-dependency via Composer: ```
    composer require --dev aeliot-tm/phpunit-codecoverage-baseline
    ```
2. [PHAR file](docs/using/phar.md)

Usage
-----

[](#usage)

**To get started:**

1. Run PHPUnit with the switched on Clover report in [xml config file](https://phpunit.readthedocs.io/en/9.5/configuration.html#the-report-element)or with [command-line options](https://phpunit.readthedocs.io/en/9.5/textui.html?highlight=clover#command-line-options). ```
    phpunit --coverage-clover 'build/coverage/clover.xml' tests/
    ```
2. [Build baseline](docs/clover_build_baseline.md) for clover report and commit into your project.

**Regular using:**

1. [Run comparing](docs/clover_compare_with_baseline.md) of current Clover report with the baseline. It is recommended to configure it on your GitHub or GitLab CI.
2. Update your baseline time-to-time when you have progress with your code coverage.

###  Health Score

51

↑

FairBetter than 95% of packages

Maintenance97

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 59.7% 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 ~206 days

Recently: every ~307 days

Total

7

Last Release

16d ago

Major Versions

0.1 → v1.0.02023-01-30

v1.1.0 → v2.0.02023-02-09

PHP version history (3 changes)0.1PHP ^7.4

v1.0.0PHP ^7.4|^8.0

v1.1.0PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/56d81f2702c20990da8d701ba1083e398c94cfcadfdd27b1a90e7791aac92053?d=identicon)[aeliot-tm](/maintainers/aeliot-tm)

---

Top Contributors

[![Aeliot-Tm](https://avatars.githubusercontent.com/u/8513062?v=4)](https://github.com/Aeliot-Tm "Aeliot-Tm (80 commits)")[![a-melnikov](https://avatars.githubusercontent.com/u/29042693?v=4)](https://github.com/a-melnikov "a-melnikov (53 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

baselinecode-coveragecode-coverage-baselinephpunitphpunit-baselinephpunitcloverbaseline

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/aeliot-tm-phpunit-codecoverage-baseline/health.svg)

```
[![Health](https://phpackages.com/badges/aeliot-tm-phpunit-codecoverage-baseline/health.svg)](https://phpackages.com/packages/aeliot-tm-phpunit-codecoverage-baseline)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k136.1M985](/packages/brianium-paratest)[testo/testo

A lightweight PHP testing framework.

1959.3k53](/packages/testo-testo)

PHPackages © 2026

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