PHPackages                             dvdoug/behat-code-coverage - 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. dvdoug/behat-code-coverage

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

dvdoug/behat-code-coverage
==========================

Generate Code Coverage reports for Behat tests

v5.4.1(3mo ago)593.6M↓17.3%1420BSD-2-ClausePHPPHP ^8.3CI passing

Since Apr 5Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/dvdoug/behat-code-coverage)[ Packagist](https://packagist.org/packages/dvdoug/behat-code-coverage)[ Docs](https://behat.cc)[ GitHub Sponsors](https://github.com/dvdoug)[ RSS](/packages/dvdoug-behat-code-coverage/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (11)Versions (35)Used By (20)

behat-code-coverage
===================

[](#behat-code-coverage)

[![Build Status](https://github.com/dvdoug/behat-code-coverage/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dvdoug/behat-code-coverage/actions/workflows/ci.yml)[![Download count](https://camo.githubusercontent.com/5514de5981b16aeff423d9d6d47784af1d05a28022009a2d087df3c362914364/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6476646f75672f62656861742d636f64652d636f7665726167652e737667)](https://packagist.org/packages/dvdoug/behat-code-coverage)[![Current version](https://camo.githubusercontent.com/5ecc7ec6c446d9cffd6be0e7c60f22a16db072b61c2e24986a7483945e0bb251/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6476646f75672f62656861742d636f64652d636f7665726167652e737667)](https://packagist.org/packages/dvdoug/behat-code-coverage)[![Documentation](https://camo.githubusercontent.com/4d0aea0f899624e7a670de2c14786153f0402e0708850070fc21c0f725b01b16/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f62656861742d636f64652d636f7665726167652f62616467652f3f76657273696f6e3d6c6174657374)](https://www.behat.cc)

Behat Code Coverage is an extension for Behat that can generate code coverage reports when testing a PHP application. The extension wraps the same php-code-coverage library that is used by PHPUnit thereby producing reports that are familiar to developers and interoperable with other tooling.

See [documentation](https://behat.cc/) for more details.

License
-------

[](#license)

Licensed under [BSD-2-Clause License](LICENSE).

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance81

Actively maintained with recent releases

Popularity56

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 55.5% 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 ~104 days

Recently: every ~126 days

Total

32

Last Release

100d ago

Major Versions

v2.5.5 → v3.0.02017-04-08

v3.4.1 → v4.0.02019-08-04

v4.1.1 → v5.0.02020-08-07

PHP version history (8 changes)v2.5.5PHP &gt;=5.3.10

v3.1.0PHP &gt;=5.6

v4.0.0PHP &gt;=7.1

v5.0.0PHP ^7.1 || ^8.0

v5.1.0PHP ^7.3 || ^8.0

v5.3.2PHP ^7.4 || ^8.0

v5.3.3PHP ^8.1

v5.4.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/5bbb34b74a2b5e65b0c67011c6c5339eedc29e6b95d46428ad1044f021f0bbab?d=identicon)[dvdoug](/maintainers/dvdoug)

---

Top Contributors

[![dvdoug](https://avatars.githubusercontent.com/u/1571110?v=4)](https://github.com/dvdoug "dvdoug (264 commits)")[![ek9](https://avatars.githubusercontent.com/u/17393048?v=4)](https://github.com/ek9 "ek9 (133 commits)")[![robocoder](https://avatars.githubusercontent.com/u/922051?v=4)](https://github.com/robocoder "robocoder (51 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (5 commits)")[![ostrolucky](https://avatars.githubusercontent.com/u/496233?v=4)](https://github.com/ostrolucky "ostrolucky (3 commits)")[![chartinger](https://avatars.githubusercontent.com/u/1876970?v=4)](https://github.com/chartinger "chartinger (3 commits)")[![andreybolonin](https://avatars.githubusercontent.com/u/2576509?v=4)](https://github.com/andreybolonin "andreybolonin (2 commits)")[![thewilkybarkid](https://avatars.githubusercontent.com/u/1784740?v=4)](https://github.com/thewilkybarkid "thewilkybarkid (2 commits)")[![DarkSide666](https://avatars.githubusercontent.com/u/1969119?v=4)](https://github.com/DarkSide666 "DarkSide666 (1 commits)")[![dannylewis-sheffield](https://avatars.githubusercontent.com/u/25520?v=4)](https://github.com/dannylewis-sheffield "dannylewis-sheffield (1 commits)")[![yosrib](https://avatars.githubusercontent.com/u/1013741?v=4)](https://github.com/yosrib "yosrib (1 commits)")[![kadet1090](https://avatars.githubusercontent.com/u/747404?v=4)](https://github.com/kadet1090 "kadet1090 (1 commits)")

---

Tags

behatcoveragephptestcoveragecodeBDDtestsreportBehatcloverreportscode coveragescenariocobertura

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/dvdoug-behat-code-coverage/health.svg)

```
[![Health](https://phpackages.com/badges/dvdoug-behat-code-coverage/health.svg)](https://phpackages.com/packages/dvdoug-behat-code-coverage)
```

###  Alternatives

[leanphp/behat-code-coverage

Generate Code Coverage reports for Behat tests

50359.8k2](/packages/leanphp-behat-code-coverage)[behat/behat

Scenario-oriented BDD framework for PHP

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

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[friends-of-phpspec/phpspec-code-coverage

Generate Code Coverage reports for PhpSpec tests

202.6M125](/packages/friends-of-phpspec-phpspec-code-coverage)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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