summaryrefslogtreecommitdiff
path: root/scripts
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
commit469ac2d64d6d098256e16a7c54b590559444dc5a (patch)
tree2005a3e683c6f78a200fb59619c3bbc8c1783b8f /scripts
parentbbc270cb54d7da0be4aa63919d0f9b9e816bfe14 (diff)
downloaddotemacs-469ac2d64d6d098256e16a7c54b590559444dc5a.tar.gz
dotemacs-469ac2d64d6d098256e16a7c54b590559444dc5a.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 'scripts')
0 files changed, 0 insertions, 0 deletions