aboutsummaryrefslogtreecommitdiff
path: root/tests/test-coverage-core--intersect.el
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
commit1097878bcb45a1c68ec5f9e44a727c2dd7e45725 (patch)
treee39a9f4ca91363c9d4fbe2af2c3d04c4c708267d /tests/test-coverage-core--intersect.el
parent83ac3201023f8736c234da27a0642f21786adcfc (diff)
downloaddotemacs-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 'tests/test-coverage-core--intersect.el')
0 files changed, 0 insertions, 0 deletions