Expand description
LCOV coverage file parser for covguard.
This crate provides parsing and merging of LCOV format coverage files, producing a normalized coverage map that can be used by the domain layer.
Structs§
- Lcov
Coverage Provider - Default LCOV coverage provider backed by this crate’s parser and merger.
Enums§
- Lcov
Error - Errors that can occur while parsing LCOV files.
Functions§
- get_
hits - Get the hit count for a specific file and line.
- merge_
coverage - Merge multiple coverage maps into one.
- normalize_
path - Normalize a file path to repo-relative format.
- normalize_
path_ with_ strip - Normalize a file path with optional prefix stripping.
- parse_
lcov - Parse an LCOV format string into a coverage map.
- parse_
lcov_ with_ strip - Parse an LCOV format string into a coverage map with optional prefix stripping.
Type Aliases§
- Coverage
Map - A map of file paths to their line coverage data.