Skip to main content

Module lcov

Module lcov 

Source
Expand description

lcov trace-file parser (line coverage only).

lcov records one source file per SF:end_of_record block. Within a block, DA:<line>,<hits>[,<checksum>] gives the hit count for an instrumented line. Branch (BRDA) and function (FN*) records are ignored — v1 is scoped to line coverage to match the existing coverage comment.

Reference: https://manpages.debian.org/unstable/lcov/geninfo.1.en.html

Functions§

parse
Parses lcov trace text into a CoverageReport.