Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,13 +494,13 @@ zig build cov
open zig-out/coverage/merged/kcov-merged/index.html
```

Current state: **95.07% of lines covered** (867 of 912) without an API key,
since the tests covering `html`, `md`, `searchArchive`, and `account` skip
themselves rather than fail. With `SERPAPI_KEY` set — as in CI, which
publishes the figure to every job summary and fails below 90% — those paths
execute too and coverage rises accordingly. CI measures on Linux arm64 in a
Debian trixie container; kcov needs `--security-opt seccomp=unconfined` to
run inside Docker.
Current state: **98.28% of lines covered** (974 of 991) with `SERPAPI_KEY`
set, as measured by CI, which publishes the figure to every job summary and
fails below 90%. Without a key, the tests covering `html`, `md`,
`searchArchive`, and `account` skip themselves rather than fail, so those
paths go uncovered and the figure drops accordingly. CI measures on Linux
arm64 in a Debian trixie container; kcov needs
`--security-opt seccomp=unconfined` to run inside Docker.

The lines that remain uncovered either way are `errdefer` branches that only
execute if the operating system refuses an allocation midway through a
Expand Down
Loading