diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-22 17:03:33 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-22 17:03:33 -0500 |
| commit | 1097878bcb45a1c68ec5f9e44a727c2dd7e45725 (patch) | |
| tree | e39a9f4ca91363c9d4fbe2af2c3d04c4c708267d /modules/system-utils.el | |
| parent | 83ac3201023f8736c234da27a0642f21786adcfc (diff) | |
| download | dotemacs-1097878bcb45a1c68ec5f9e44a727c2dd7e45725.tar.gz dotemacs-1097878bcb45a1c68ec5f9e44a727c2dd7e45725.zip | |
feat(coverage): add cj/--coverage-parse-lcov helper
First of three pure helpers for the coverage-report command. Reads an LCOV file and returns a hash table of file to set of covered line numbers. Only the SF, DA, and end_of_record fields are interpreted. Other LCOV fields (FN, FNDA, LF, LH, BRDA) are ignored. Malformed DA lines are skipped silently so partial runs still yield usable data.
Tests cover Normal (single file, multiple files, mixed hit counts), Boundary (empty file, spaces in path, extra fields, all-zero hits), and Error (missing file, malformed DA lines).
Part of the coverage-core work per docs/design/coverage.org.
Diffstat (limited to 'modules/system-utils.el')
0 files changed, 0 insertions, 0 deletions
