Coverage.py vs gcov
| Coverage.py | gcov | |
|---|---|---|
| Free plan | Yes | No |
| Free trial | No | No |
| Paid from | Free | — |
| Open source | No | No |
| Platforms | api, Linux, macOS, self-hosted, Windows | Linux, Windows, macOS |
| Free plan | Yes | Yes |
| Coverage types | statement, branch | line, function, branch, condition, prime-path, basic-block |
| Supported languages | Python | C, C++, Objective-C, Objective-C++, Fortran, Ada, D, Go |
| Report formats | text, HTML, XML, LCOV, JSON | .gcov text, compressed JSON (.gcov.json.gz) |
| Self-hosted option | Yes | Yes |
| Coverage gates | Yes | — |
Both are listed in Best Test Coverage Tools. On Everything Xiaomi, Coverage.py scores higher on our published basis.