Coverage.py
7.3#3 in test coverage toolsFree planFree planAPILinuxmacOSSelf-hosted
Visit| Fact | Coverage.py | Tarpaulin |
|---|---|---|
| Branch coverage | The tool can measure whether alternative branch paths were executed. | The CLI help labels branch coverage as not implemented. |
| Installation | The documented installation command is `python3 -m pip install coverage`. | Tarpaulin is a command-line program installed with Cargo, and the README also mentions Nix and cargo-binstall installation options. |
| License | Coverage.py is licensed under the Apache 2.0 License. | Tarpaulin is licensed under both MIT and Apache License 2.0. |
| Purpose | Coverage.py measures which parts of Python programs ran and identifies executable code that did not run, commonly to gauge test effectiveness. | Tarpaulin is a code coverage reporting tool for Rust projects using the Cargo build system. |
| Reports | It can produce text, HTML, XML, LCOV, and JSON reports. | Tarpaulin can generate HTML, JSON, stdout, XML, and LCOV coverage reports. |
| Security | The project directs vulnerability reports to Tidelift, which it says will coordinate the fix and disclosure. | The Docker instructions use seccomp=unconfined and also describe adjusting the seccomp policy to allow the personality syscall. |
No prices published.
Coverage.py is for developers measuring how much of their Python code their tests exercise. Its report formats and dynamic contexts can help teams inspect coverage in different ways.
Tarpaulin suits Rust developers and CI pipelines that need line-coverage reports from Cargo projects. It is also useful for self-hosted or Docker-based coverage workflows.