aboutsummaryrefslogtreecommitdiff
path: root/modules/wrap-up.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-15 02:13:10 -0500
committerCraig Jennings <c@cjennings.net>2026-05-15 02:13:10 -0500
commitb9af4484a3d9f915f0018b29a55c404e01591b0c (patch)
tree6f4fbf60be44e6f4ee428cb812542444b0c0895a /modules/wrap-up.el
parent043576dea5a06d100900d690a57297b9a8fa7a84 (diff)
downloaddotemacs-b9af4484a3d9f915f0018b29a55c404e01591b0c.tar.gz
dotemacs-b9af4484a3d9f915f0018b29a55c404e01591b0c.zip
feat(coverage): report modules missing from SimpleCov + project-module score
=make coverage= used to print a line-weighted percentage that only saw files SimpleCov instrumented. 104 modules existed on disk but only 49 appeared in =.coverage/simplecov.json=, so the headline number was flattering: untouched modules counted for nothing. The summary script now adds two things on top of the existing report: - A =Not in SimpleCov report= section listing modules present under =modules/*.el= but absent from the SimpleCov output. Missing-module detection is exactly direct =modules/*.el=; subdirectories and =.elc= files are ignored. - A =Project module coverage= line that is module-weighted across every direct =modules/*.el= file. Tracked modules contribute their per-file coverage percentage; missing modules contribute 0%. The original line-weighted SimpleCov percentage stays as the =instrumented coverage= number. The new module-weighted score is the honest project-level reading: missing modules count as 0% without inventing a fake executable-line denominator for them. Tests assert the missing-module section, the new percentage, and the ignore rules for .elc / nested files.
Diffstat (limited to 'modules/wrap-up.el')
0 files changed, 0 insertions, 0 deletions