diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-15 02:13:10 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-15 02:13:10 -0500 |
| commit | 4d8f979948d5349404a36fe335eb77955d068a8d (patch) | |
| tree | e7fec48e51d7a11257bb1a4cc5bb4b685b1d5782 /tests/test-mu4e-attachments.el | |
| parent | d9fa8f4db2b9e6d7f610094950b460cdee146e47 (diff) | |
| download | dotemacs-4d8f979948d5349404a36fe335eb77955d068a8d.tar.gz dotemacs-4d8f979948d5349404a36fe335eb77955d068a8d.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 'tests/test-mu4e-attachments.el')
0 files changed, 0 insertions, 0 deletions
