digitalrevolution/phpunit-file-coverage-inspection
Define per-file code coverage thresholds from Clover coverage.xml, with directory/file overrides and optional uncovered-method rules. Fails builds with checkstyle or GitLab formatted reports so a single file can’t hide behind high overall coverage.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| handcraftedinthealps/code-coverage-checker | 0.89 | CLI tool to enforce PHPUnit code coverage thresholds. Generate a coverage.php report, then check line/class/method coverage against a minimum percentage, optionally limited to specific directories—ideal for CI to fail builds when coverage drops. | 6 | 6 | 4 | 2K | 0 | 23.7 | 39.8 | MIT | 3 weeks ago | |
| phpunit/php-code-coverage | 0.87 | phpunit/php-code-coverage collects, processes, and renders PHP code coverage data. Integrate it in test runs to start/stop coverage collection, filter included files, and generate reports such as OpenClover, including from serialized coverage data. | 8,933 | 8,977 | 385 | 14M | 5 | 72.9 | 54.2 | BSD-3-Clause | 1 week ago | |
| jaschilz/php-coverage-badger | 0.87 | Generate an SVG code coverage badge from a PHPUnit Clover XML report. Install via Composer and run the included CLI to turn clover.xml into a coverage.svg badge for your CI or README. | 12 | 12 | 5 | 54K | 0 | 0.7 | 50.0 | MIT | 9 years ago | |
| robiningelbrecht/phpunit-coverage-tools | 0.87 | Enforce minimum PHPUnit code coverage using Clover XML reports. Fails the test run with exit code 1 when coverage drops below a threshold—ideal for CI/CD and pre-commit hooks. Configure via phpunit.xml and run with --min-coverage plus --coverage-clover. | 17 | 17 | 4 | 28K | 1 | 19.7 | 49.4 | MIT | 4 months ago | |
| shipmonk/coverage-guard | 0.87 | Enforce PHP code coverage in CI by targeting specific core methods/blocks instead of overall %. Legacy-friendly: enforce only new/changed code via git patch. Lightweight (nikic/php-parser), extensible rules, easy CLI to check PHPUnit Clover reports. | 55 | 55 | 1 | 9K | 0 | 21.5 | 35.9 | MIT | 2 weeks ago | |
| rregeer/phpunit-coverage-check | 0.85 | — | 60 | 63 | 15 | 150K | 2 | 4.1 | 47.5 | MIT | 6 years ago | |
| robiningelbrecht/phpunit-coverage-check | 0.85 | PHPUnit Coverage Check is a lightweight PHP tool to verify code coverage meets a required minimum. It reads PHPUnit coverage reports and fails builds when thresholds aren’t reached—useful for CI pipelines to enforce coverage standards in Laravel and PHP projects. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| phpunit/phpcov | 0.81 | phpcov is a CLI frontend for php-code-coverage. It merges PHPUnit --coverage-php .cov files from parallel or split runs and generates combined reports (HTML, Clover, etc.) or exports merged data back to a .cov file. | 239 | 241 | 56 | 587K | 1 | 3.0 | 46.8 | BSD-3-Clause | — | |
| esi/phpunit-coverage-check | 0.79 | Reads PHPUnit clover/openclover XML coverage reports and computes overall coverage percentage. Fails CI with exit code 1 when coverage drops below a configurable threshold; exits successfully when the threshold is met. Useful for enforcing minimum test coverage. | 6 | 6 | 1 | 6K | 2 | 13.7 | 47.0 | MIT | 6 months ago | |
| henrikbjorn/phpspec-code-coverage | 0.78 | Deprecated PhpSpec extension that generates code coverage reports (HTML by default, plus clover/php/text) with configurable whitelists/blacklists and output paths. Install via Composer, enable in phpspec.yml, run phpspec (or phpdbg on PHP 7+). | 97 | 100 | 28 | 2K | 0 | 2.2 | 13.2 | MIT | 10 years ago |
How can I help you explore Laravel packages today?