Side by side
Kover vs PHP_CodeCoverage
Both stand on test coverage tools. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan Linux
Choose Kover for free coverage measurement and verification in Kotlin JVM or Android projects, especially when you need support for mixed Kotlin and Java sources. Look elsewhere if you need Gradle-plugin coverage for JavaScript or native targets, or coverage from instrumented Android-device tests.
Visit Kover Free plan Self-hosted
PHP_CodeCoverage provides coverage collection and reporting options for PHP projects, including combined-run and patch analysis. Choose Xdebug data when branch or path coverage is needed.
Visit PHP_CodeCoverageThe facts
| Kover | PHP_CodeCoverage | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Linux | Self-hosted |
| Lowest paid plan | Free or on request | Not published |
| Plans published | 1 | None |
| Maker | Not published | Not published |
| Website | kotlin.github.io | github.com |
| On test coverage tools | #18 of 27 | #22 of 27 |
Kover: what it does well
- Free and Apache-2.0 licensed.
- Reports line, instruction, and branch coverage.
- Generates HTML and XML reports with Gradle.
- Supports Kotlin and Java sources.
- Works with Android build variants and host tests.
What to know first
- Gradle plugin does not support JavaScript or native targets.
- Does not collect instrumented Android-device test coverage.
- JVM instrumentation may affect performance or concurrent tests.
- Aggregated Plugin is an early prototype for test or pet projects.
PHP_CodeCoverage: what it does well
- Supports multiple coverage measures
- Offers a range of report formats
- HTML reports show line-by-line coverage
- Combines serialized runs and analyzes changed lines
What to know first
- Requires PHP 8.4 or later
- Requires DOM, libxml, mbstring, and xmlwriter
- PCOV provides line coverage only
Alternatives to Kover Alternatives to PHP_CodeCoverage The whole list