<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-coverage-summary.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-15T07:13:10+00:00</updated>
<entry>
<title>feat(coverage): report modules missing from SimpleCov + project-module score</title>
<updated>2026-05-15T07:13:10+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-15T07:13:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=4d8f979948d5349404a36fe335eb77955d068a8d'/>
<id>urn:sha1:4d8f979948d5349404a36fe335eb77955d068a8d</id>
<content type='text'>
=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.
</content>
</entry>
<entry>
<title>test: add terminal coverage summary helper</title>
<updated>2026-05-12T10:12:17+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-12T10:12:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=a032f45fe30ce300163bc052257c3c5c993c85d5'/>
<id>urn:sha1:a032f45fe30ce300163bc052257c3c5c993c85d5</id>
<content type='text'>
</content>
</entry>
</feed>
