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
Categories
Code CoverageLicense
BSD LicenseFollow PHP Code Coverage
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of PHP Code Coverage!