fastcov is a massively parallel gcov wrapper for generating intermediate coverage formats (like lcov info) quickly. It processes .gcda/.gcno files in parallel using subprocesses and hashes source files to avoid re-processing. Current version is 1.16, requires Python >=3.5, and is maintained on GitHub.
pip install fastcovVerified import paths — ran on the pinned version, not inferred.
Run fastcov as a subprocess to generate lcov info output with branch coverage, excluding test files.
Check for exit codes 3+ for failures, or use `--version` to detect version.
Upgrade to >=1.14 or set GCOV_PREFIX to include longform flags: `--gcov gcov --stdout --long-filename --preserve-paths`.
Upgrade to >=1.14, or avoid combining those flags.
Upgrade to >=1.11 or wrap subprocess with timeout.
Use `--branch` instead (alias) or upgrade fastcov to >=1.10.
Use subprocess to invoke fastcov or import the internal modules directly (not recommended).
Use the lcov info output (`--lcov -o output.info`) or rely on the official fastcov JSON schema (if you must).
No dependency data recorded yet.