coverage2lcov 0.1.0

A simple program to generate `lcov` file from data file generated by [coveragepy](https://github.com/nedbat/coveragepy ), when an older version of which does not have `coverage lcov` command.
Documentation
  • Coverage
  • 85.71%
    6 out of 7 items documented1 out of 1 items with examples
  • Size
  • Source code size: 19.26 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.56 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • yining/coverage2lcov
    1 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • yining

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