Refresh the coverage numbers and document the new verbs
94.6% line, 98.6% function, measured from a coverage tree outside the source directory. The akgl targets are not in that figure and the entry now says so, because a reader of the table would otherwise read it as untested. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
7
TODO.md
7
TODO.md
@@ -1039,8 +1039,8 @@ entire test corpus and passes clean under ASan and UBSan.
|
||||
| `ctest` with `-DAKBASIC_WITH_AKGL=ON` | 75/75 — the same, minus the three `no_device` cases the SDL driver contradicts, plus `akgl_backends` and `akgl_frontend`; the `akgl_build` CI job |
|
||||
| Golden corpus | 41/41 byte-exact, driven in place from the submodule — **and 41/41 again through the SDL binary**, which is most of what proves the frontend changes no output |
|
||||
| ASan + UBSan | 76/76 |
|
||||
| Line coverage | 93.6% (3618/3867) — above the 90% gate |
|
||||
| Function coverage | 97.8% (267/273) |
|
||||
| Line coverage | 94.6% (3857/4076) — above the 90% gate |
|
||||
| Function coverage | 98.6% (287/291) |
|
||||
| Warnings | none under `-Wall -Wextra` |
|
||||
| `doxygen Doxyfile` | clean |
|
||||
| Mutation (`src/symtab.c`) | 74.1%, against a gate of 65 — see `.gitea/workflows/ci.yaml` |
|
||||
@@ -1053,7 +1053,8 @@ figure — it is not built in a default configuration.
|
||||
**A note on reading that number, because it was misread once while producing it.** A stale
|
||||
`build-cov/` left in the source directory from an earlier session was silently folded into the
|
||||
report by `gcovr --root .`, which produced the *previous* run's 92.3% for a tree that had grown
|
||||
by 800 lines. That is `libakgl` defect #13 happening here rather than there, and `build*/` being
|
||||
by 800 lines. The number above was produced from a coverage tree outside the source directory
|
||||
entirely, after a `find . -name '*.gcda'` came back empty. That is `libakgl` defect #13 happening here rather than there, and `build*/` being
|
||||
gitignored is exactly what makes it invisible. **Keep build trees out of the source directory**,
|
||||
and if a coverage number looks suspiciously unchanged, `find . -name '*.gcda'` before believing
|
||||
it.
|
||||
|
||||
Reference in New Issue
Block a user