Metrics
This section will grow to include longitudinal charts for project health and quality signals.
Test coverage
Interactive coverage reports (line and diff coverage, PR comments, and history) are published on Codecov.
The Coverage
workflow on main also commits gcovr JSON snapshots under doc/metrics/ when
nightly results change:
coverage-full.json— gcovr merge of per-shardcoverage-full.jsonartifacts (zephyr +modules/lib/posix)coverage-posix.json— gcovr merge of per-shardcoverage-posix.jsonartifacts (modules/lib/posix/includeandmodules/lib/posix/lib/posix; same file uploaded to Codecov per shard)coverage-provenance.json—maincommit (full and short SHA), run URL, and summary percentages
Scheduled nightly runs compare origin/main to the commit field in
coverage-provenance.json (on main, or on the open automation/coverage-json
bot PR when snapshots have not merged yet). When main is unchanged, the
nightly coverage job is skipped.
Use Codecov for browsing source coverage; use the committed JSON for offline diffs or tooling.