The php-code-coverage library, authored by Sebastian Bergmann, enables collection, processing, and rendering of PHP code coverage data. It integrates with PHPUnit or other testing frameworks to track which lines, methods, or classes are executed during tests. The library supports generating detailed reports in formats like HTML, Clover, or XML, helping teams understand test completeness and identify untested code paths.

Features

  • Collects execution coverage data during test runs
  • Filters and includes/excludes files or directories
  • Generates reports in HTML, Clover, and XML formats
  • Integrates with PHPUnit and PHPUnit‑based workflows
  • Works with Xdebug or PCOV extensions for data gathering
  • Supports code coverage merging across parallel test jobs

Project Samples

Project Activity

See All Activity >

Categories

Code Coverage

License

BSD License

Follow PHP Code Coverage

PHP Code Coverage Web Site

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PHP Code Coverage!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

PHP

Related Categories

PHP Code Coverage Tool

Registered

2025-07-28