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
commit52d235b3c8ff31ebab05fa45650443b0a28ddb54 (patch)
treee39a9f4ca91363c9d4fbe2af2c3d04c4c708267d /modules/archived
parent2a2b732f0874618243c9b1486b74b3b430d4a62f (diff)
downloaddotemacs-52d235b3c8ff31ebab05fa45650443b0a28ddb54.tar.gz
dotemacs-52d235b3c8ff31ebab05fa45650443b0a28ddb54.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