#coverage #lcov #conversion

bin+lib coverage2lcov

A simple program to generate lcov file from data file generated by coveragepy, when an older version of which does not have coverage lcov command

1 unstable release

Uses new Rust 2021

0.1.0 Nov 13, 2022

#621 in Development tools

24 downloads per month

MIT/Apache

11KB
210 lines

Current crates.io version Documentation CI

README

What

A simple cli tool to generate lcov data from data file generated by coveragepy, when an older version(< 6.3) of which does not have coverage lcov command to output coverage data in lcov format.

Note The output in the generated lcov format is very limited: only DA record of uncovered lines in source files.

Why

This started as a solution to a very specific problem in one of my workflows. It's very likely you do not need this tool.

How

coverage2lcov .coverage > lcov.info

Install

cargo install coverage2lcov

or from git repository:

cargo install --git https://github.com/yining/coverage2lcov

Dependencies

~1–1.3MB
~37K SLoC