Coverage.py vs gcovr
| Coverage.py | gcovr | |
|---|---|---|
| Free plan | Yes | No |
| Free trial | No | No |
| Paid from | Free | — |
| Open source | No | No |
| Platforms | api, Linux, macOS, self-hosted, Windows | Linux, macOS, Windows |
| Free plan | Yes | Yes |
| Coverage types | statement, branch | line, branch, decision, function, condition, call |
| Supported languages | Python | C, C++ |
| Report formats | text, HTML, XML, LCOV, JSON | text, HTML, CSV, JSON, Markdown, Clover XML, Cobertura XML, Coveralls JSON, JaCoCo XML, LCOV, SonarQube XML |
| Self-hosted option | Yes | — |
| Coverage gates | Yes | Yes |
Both are listed in Best Test Coverage Tools. On Inferse, Coverage.py scores higher on our published basis.