aboutsummaryrefslogtreecommitdiff
path: root/modules/archived
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-22 17:03:33 -0500
committerCraig Jennings <c@cjennings.net>2026-04-22 17:03:33 -0500
commitb34daaf781f0b7dd23c71ae3bb6def706815d2f0 (patch)
tree2005a3e683c6f78a200fb59619c3bbc8c1783b8f /modules/archived
parent909540669c5ecb6df75a83fc4de3104f4b73247a (diff)
downloaddotemacs-b34daaf781f0b7dd23c71ae3bb6def706815d2f0.tar.gz
dotemacs-b34daaf781f0b7dd23c71ae3bb6def706815d2f0.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/archived')
0 files changed, 0 insertions, 0 deletions