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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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

1 day ago