Skip to main content

parse_lcov

Function parse_lcov 

Source
pub fn parse_lcov(content: &str) -> Result<CoverageReport, ParseError>
Expand description

Parse LCOV format content into a CoverageReport.

State machine: SF starts a record, DA adds line data, LF/LH set summary counts, end_of_record finalizes. TN, FN*, BR* lines are ignored (we only need line coverage).