PHPackages                             mmapes/php-code-coverage-optional-whitelist - 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. mmapes/php-code-coverage-optional-whitelist

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

mmapes/php-code-coverage-optional-whitelist
===========================================

Fork with optional whitelist of Library that provides collection, processing, and rendering functionality for PHP code coverage information.

6.1.4(7y ago)06BSD-3-ClausePHPPHP ^7.1

Since Sep 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mmapes/php-code-coverage-optional-whitelist)[ Packagist](https://packagist.org/packages/mmapes/php-code-coverage-optional-whitelist)[ Docs](https://github.com/sebastianbergmann/php-code-coverage)[ RSS](/packages/mmapes-php-code-coverage-optional-whitelist/feed)WikiDiscussions optional-whitelist Synced 2mo ago

READMEChangelogDependencies (8)Versions (117)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/210272ac6cd916c286c6861cd27991b371e42ae35e464c4ac5f3dedce2fe6ebb/68747470733a2f2f706f7365722e707567782e6f72672f706870756e69742f7068702d636f64652d636f7665726167652f762f737461626c652e706e67)](https://packagist.org/packages/phpunit/php-code-coverage)[![Build Status](https://camo.githubusercontent.com/0153cfe4a1dfc245e15faad33ecd81e9944993ee561ef260bf259d373898dbcd/68747470733a2f2f7472617669732d63692e6f72672f73656261737469616e626572676d616e6e2f7068702d636f64652d636f7665726167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sebastianbergmann/php-code-coverage)

PHP\_CodeCoverage
=================

[](#php_codecoverage)

**PHP\_CodeCoverage** is a library that provides collection, processing, and rendering functionality for PHP code coverage information.

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

[](#requirements)

PHP 5.6 is required but using the latest version of PHP is highly recommended.

### PHP 5

[](#php-5)

[Xdebug](http://xdebug.org/) is the only source of raw code coverage data supported for PHP 5. Version 2.2.1 of Xdebug is required but using the latest version is highly recommended.

### PHP 7

[](#php-7)

Version 2.4.0 (or later) of [Xdebug](http://xdebug.org/) as well as [phpdbg](http://phpdbg.com/docs) are supported sources of raw code coverage data for PHP 7.

### HHVM

[](#hhvm)

A version of HHVM that implements the Xdebug API for code coverage (`xdebug_*_code_coverage()`) is required.

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

[](#installation)

You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):

```
composer require phpunit/php-code-coverage

```

If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:

```
composer require --dev phpunit/php-code-coverage

```

Using the PHP\_CodeCoverage API
-------------------------------

[](#using-the-php_codecoverage-api)

```
