<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs-wttrin/scripts/coverage-summary.el, branch main</title>
<subtitle>Emacs frontend for Igor Chubin's wttr.in weather service
</subtitle>
<id>https://git.cjennings.net/emacs-wttrin/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/emacs-wttrin/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/emacs-wttrin/'/>
<updated>2026-06-21T12:08:04+00:00</updated>
<entry>
<title>fix: exclude generated package files from coverage summary</title>
<updated>2026-06-21T12:08:04+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-06-21T12:08:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/emacs-wttrin/commit/?id=021b5bb771bff834bc67d82fa61b870e175bdf71'/>
<id>urn:sha1:021b5bb771bff834bc67d82fa61b870e175bdf71</id>
<content type='text'>
undercover never instruments generated files like NAME-autoloads.el and NAME-pkg.el, so they have no report entry. The file-weighted summary counted each as untested at 0% and dragged the project number down (97.2% read as 72.9% after eask generated the autoloads file).

Drop NAME-autoloads.el and NAME-pkg.el from the source-file scan. A genuinely untested source is still flagged. Only the build-generated files are skipped.
</content>
</entry>
<entry>
<title>test: add make coverage-summary with untested-module detection</title>
<updated>2026-06-21T06:00:20+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-06-21T06:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/emacs-wttrin/commit/?id=6b2fd20dfc6e2cba418d27c0955908db8ec19039'/>
<id>urn:sha1:6b2fd20dfc6e2cba418d27c0955908db8ec19039</id>
<content type='text'>
A module no test loads never appears in undercover's report, so a line-weighted total silently skips it. The coverage-summary target counts such a file as 0% and weights the project number by file, so untested modules stay visible.

I replaced scripts/coverage-summary.py, which only summarized files already in the report. make coverage now chains the summary, and CI prints it in the coverage step instead of a separate python call.

The helper runs on stock Emacs (built-in json and seq), so it needs no dev deps. It lives in tracked scripts/ so CI can reach it.
</content>
</entry>
</feed>
