PHP_CodeCoverage vs ReportGenerator
PHP_CodeCoverage
github.comReportGenerator
reportgenerator.ioSide by side
| Figure | PHP_CodeCoverage | ReportGenerator |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | Yes |
| Open source | — | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Self-hosted | Yes | — |
| Plans published | 0 | 5 |
| Spec score · Test Coverage Tools | 6.7 (#25) | 7.8 (#10) |
| Purpose | The library collects, processes, and renders PHP code coverage information. | ReportGenerator converts code coverage reports into human-readable reports in multiple formats and visualizes covered source lines. |
Plans
ReportGenerator
- FreeFree
- Free TrialFree
- Individual$79, paid once
- Team$249, paid once
- Enterprise$599, paid once
In their own words
PHP_CodeCoverage
PHP_CodeCoverage has no write-up on Specifiction yet; its figures are above.
ReportGenerator
ReportGenerator is a command-line tool that turns code coverage reports into readable reports and visualizes covered source lines. It runs on Windows, Linux, and macOS, and accepts input from tools and formats including coverlet, OpenCover, dotCover, Visual Studio, NCover, Cobertura, JaCoCo, Clover, gcov, and lcov. Reports visualize line and branch coverage; method coverage is a PRO feature. A history chart tracks coverage over time, and the summary table can be filtered and sorted. Risk hotspot analysis can use cyclomatic complexity, NPath complexity, and CRAP score when those values are available, with configurable warning thresholds. Output choices include HTML, Clover, Cobertura, OpenCover, SonarQube, lcov, TeamCity summary, XML, Markdown, JSON, CSV, and text. The maker says GitHub Actions and Azure DevOps are supported. The project is open source under the Apache License, with basic features free and additional features requiring PRO. Lifetime licenses cost $79 as a one-time purchase for an individual, $249, paid once for up to 10 developers, or $599, paid once for unlimited developers.