PHPackages                             guitarneck/xdebug-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. guitarneck/xdebug-coverage

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

guitarneck/xdebug-coverage
==========================

xdebug coverage reporting tool

1.1.0(3y ago)06MITPHPPHP &gt;=5.6.0

Since Jul 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/guitarneck/xdebug-coverage)[ Packagist](https://packagist.org/packages/guitarneck/xdebug-coverage)[ Docs](https://github.com/guitarneck/xdebug-coverage)[ RSS](/packages/guitarneck-xdebug-coverage/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

[![Version 1.1.0](https://camo.githubusercontent.com/82607e69abe99314712caaca3e9c3d804b6290df91f9771848c2c84b1d6bf4b8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e312e302d626c75652e737667)](./CHANGELOG.md) [![GitHub release (latest by date)](https://camo.githubusercontent.com/64256c56c2fa50e668505db33bac5f00c1040061235b4fbf29d93e19809d5b65/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6775697461726e65636b2f7864656275672d636f766572616765)](https://camo.githubusercontent.com/64256c56c2fa50e668505db33bac5f00c1040061235b4fbf29d93e19809d5b65/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6775697461726e65636b2f7864656275672d636f766572616765) [![GitHub last commit](https://camo.githubusercontent.com/889935c81c3598fdc76dce7a53ed9d90d62b67e4e7e927050316985a29b435de/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f6775697461726e65636b2f7864656275672d636f766572616765)](https://camo.githubusercontent.com/889935c81c3598fdc76dce7a53ed9d90d62b67e4e7e927050316985a29b435de/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f6775697461726e65636b2f7864656275672d636f766572616765)[![Packagist Version](https://camo.githubusercontent.com/454e5733d060c422194fec1c6057b78ebd0f90b91bd3e983829ea945baf3c3ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6775697461726e65636b2f7864656275672d636f766572616765)](https://camo.githubusercontent.com/454e5733d060c422194fec1c6057b78ebd0f90b91bd3e983829ea945baf3c3ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6775697461726e65636b2f7864656275672d636f766572616765) [![Packagist PHP Version Support](https://camo.githubusercontent.com/8c137cf4a9fdc5870992baeb1d521aa14dc1b35c32106f8c51596bba5dc42079/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6775697461726e65636b2f7864656275672d636f7665726167652f312e312e30)](https://camo.githubusercontent.com/8c137cf4a9fdc5870992baeb1d521aa14dc1b35c32106f8c51596bba5dc42079/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6775697461726e65636b2f7864656275672d636f7665726167652f312e312e30) [![Packagist Downloads](https://camo.githubusercontent.com/fddcba060448a9e4c223972a16fa8be00e3b64167cd20425c98ef9e6f056a417/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6775697461726e65636b2f7864656275672d636f766572616765)](https://camo.githubusercontent.com/fddcba060448a9e4c223972a16fa8be00e3b64167cd20425c98ef9e6f056a417/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6775697461726e65636b2f7864656275672d636f766572616765)[![GitHub license](https://camo.githubusercontent.com/aa76eb86dbf49e88f6b38abd4f4f4f5226ff0df09f1cbec3547aca5b1dd92b68/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6775697461726e65636b2f7864656275672d636f766572616765)](https://camo.githubusercontent.com/aa76eb86dbf49e88f6b38abd4f4f4f5226ff0df09f1cbec3547aca5b1dd92b68/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6775697461726e65636b2f7864656275672d636f766572616765) [![Keep a Changelog v1.1.0](https://camo.githubusercontent.com/94f5ab4d56895b9a1015af0f6476af81a85fb250df490209a3f48c895650ca67/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6368616e67656c6f672d4b656570253230612532304368616e67656c6f6725323076312e312e302d253233303030303030)](./CHANGELOG.md)

---

> # This project is abandoned, and replaced by [php-coverage](https://github.com/guitarneck/php-coverage)
>
> [](#this-project-is-abandoned-and-replaced-by-php-coverage)

---

XDebugCoverage
==============

[](#xdebugcoverage)

A [PHP](https://www.php.net/) framework to run [XDebug](https://xdebug.org/) Code Coverage and get reports of the result.

---

Table of Contents
=================

[](#table-of-contents)

- [Install](#install)
- [Command](#command)
    - [Options](#options)
    - [Configuration](#configuration)
- [Using .dot](#using-dot)
- [License](#license)

---

Install
-------

[](#install)

```
composer require guitarneck/xdebug-coverage --dev
```

Command
-------

[](#command)

```
$ coverage/coverage tests/Something.test.php [options]
```

### Options

[](#options)

```
   --debug

   --excludes=,--excludes,-x              The paths to exclude. Separated by ','.
                                          Ex: vendor/,tests/,inc/lib/

   --format=,--format,-F                  The file format to be generated.

   --help,-h                              This help page

   --includes=,--includes,-i              The paths to include. Separated by ','.
                                          Ex: src/,inc/

   --no-extra-filter

   --output-path=,--output-path,-p        The paths to output. Separated by ','.
                                          Ex: {DIR},..,reports
                                          - {DIR}: __DIR__ ('coverage/sources')
                                          - ..   : parent path

```

### configuration

[](#configuration)

Default configuration can be sets in *coverage/sources/XDebugCoverage.json*

Using .dot
----------

[](#using-dot)

[Grahpviz](https://graphviz.org/) is open source graph visualization software.

```
$ dot -Tsvg coverage\\reports\\Hello.dot > Hello.svg
```

---

License
=======

[](#license)

[MIT © guitarneck](./LICENSE)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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 ~27 days

Total

2

Last Release

1373d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.5.0

1.1.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b4bca520f532ba08b5def6e4803e5832f2e04d5008aee310bde0c0cb9db1be1?d=identicon)[guitarneck](/maintainers/guitarneck)

---

Top Contributors

[![guitarneck](https://avatars.githubusercontent.com/u/34680484?v=4)](https://github.com/guitarneck "guitarneck (9 commits)")

---

Tags

clovercoveragecoverallslcovreportxdebugphpcoveragedotXdebugclovercoverallslcov

### Embed Badge

![Health badge](/badges/guitarneck-xdebug-coverage/health.svg)

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

###  Alternatives

[vimeo/psalm

A static analysis tool for finding errors in PHP applications

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

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

4917.3M1.5k](/packages/nette-tester)[dvdoug/behat-code-coverage

Generate Code Coverage reports for Behat tests

593.6M37](/packages/dvdoug-behat-code-coverage)[leanphp/behat-code-coverage

Generate Code Coverage reports for Behat tests

50359.8k2](/packages/leanphp-behat-code-coverage)[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)
