Repository navigation
[Coverage Report] Test Coverage Report — 2026-10-08 #9670
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-10-15T00:12:26.070Z.
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
📊 Test Coverage Report — 2026-10-08
Overall Coverage
Trend: no prior baseline was available in this run, so no delta is reported.
🛡️ Security-Critical Path Status
src/host-iptables.tssrc/squid-config.tssrc/domain-patterns.tssrc/docker-manager.tssrc/cli.tsThe low statement counts on
host-iptables.ts,squid-config.ts, anddocker-manager.tssuggest these files are thin entry points. Their 100% figures may not reflect coverage of the iptables rule generation, Squid ACL generation, or container lifecycle logic. This needs confirmation before relying on them.📋 Coverage Table
Files from the pre-computed gap brief:
src/nvx/cleanup-registry.tssrc/bounded-execution/finite-cardinality.tssrc/microvm/network-reservation.tssrc/bounded-execution/finite-disclosure.tssrc/bounded-execution/finite-schema.tsRelated files below 70% statement coverage (not in the brief):
src/nvx/cleanup-store.ts(65.59%),src/microvm/rootfs.ts(71.69%).🔧 Function Audit
src/nvx/cleanup-registry.ts: 27 of 59 functions have no coverage.src/bounded-execution/finite-disclosure.ts: 5 of 8 functions have no coverage, and 31 of 35 branches are uncovered.src/bounded-execution/finite-cardinality.ts: 4 of 12 functions have no coverage.src/types/index.ts: 15 of 18 functions have no coverage (16.66%). Likely re-exports, so low priority.📅 Recent Source Changes (last 7 days)
Not available. Git history could not be read in this run because shell access was denied, so this section is unpopulated.
🔎 Notable Findings
src/nvx/cleanup-registry.tsis the largest gap: 158 of 218 branches and 178 of 278 statements are uncovered. It also has the lowest branch coverage in the report.src/bounded-execution/finite-disclosure.tshas 11.42% branch coverage, which is far below its statement coverage of 51.78%. The brief rates it LOW, but the branch gap is wide.🎯 Recommendations
src/nvx/cleanup-registry.ts, covering the 27 uncovered functions and the uncovered branches. Target at least 70% statement coverage first.src/bounded-execution/finite-cardinality.ts, starting with its 4 uncovered functions and the 22 uncovered branches.src/host-iptables.ts,src/squid-config.ts, andsrc/docker-manager.tscover their real logic. Check whether the rule and ACL generators live in other modules and whether those modules are included in coverage. Also add branch tests forsrc/cli.ts(currently 50%) andsrc/bounded-execution/finite-disclosure.ts(11.42%).Generated from pre-computed coverage data. No source or test files were modified.
All reactions