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
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of PHP Code Coverage!