[Coverage Report] Test Coverage Report — 2026-08-28 #7837
Closed
Replies: 1 comment
|
This discussion was automatically closed because it expired on 2026-09-04T21:52:24.896Z.
|
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-08-28
Overall Coverage
Excellent overall coverage with one critical security gap:
Interpretation: The codebase has strong overall coverage above the 90% benchmark. However, branch coverage (86.10%) indicates some conditional logic paths remain untested, particularly in exception handling and edge cases.
🛡️ Security-Critical Path Status
Host iptables (Network Isolation) — 100% ✅
host-iptables.ts: 100% statements, 100% brancheshost-iptables-rules.ts: 100% statements, 100% brancheshost-iptables-shared.ts: 100% statements, 100% brancheshost-iptables-validation.ts: 100% statements, 100% branchesDomain Pattern Matching — 100% statements, 89.47% branches⚠️
domain-patterns.ts: 100% statements, but only 89.47% branch coverageSquid Proxy Config — 100% ✅
squid-config.ts: 100% statements, 100% branchesDocker Manager — 100% ✅
docker-manager.ts: 100% statements (modularized re-exports only)Main CLI Entry — 85.71% statements, 50% branches⚠️
cli.ts: 85.71% statements, 50% branch coverage📋 Coverage Table (Low Coverage Files)
src/bounded-execution/finite-disclosure.tssrc/cloud-hypervisor/virtiofsd.tssrc/microvm/rootfs.tssrc/enclave/runtime-preflight.tssrc/enclave/github-gateway.tssrc/commands/validators/config-assembly.tssrc/cloud-hypervisor/manager.tssrc/cloud-hypervisor/exports.ts🔧 Function Audit
Fully Tested Functions (100% statement coverage):
Partially Tested Functions:
Untested Module:
bounded-execution/finite-disclosure.ts: Only 2/44 functions tested (4.54%)📅 Recent Source Changes (Last 7 Days)
Recent commits with coverage implications:
🔎 Notable Findings
finite-disclosure.ts(9.26% coverage) is severely undertested. This module appears security-relevant given its name. Immediate investigation required.🎯 Recommendations
High Priority
finite-disclosure.ts(9.26% coverage)Medium Priority
2. Improve Cloud Hypervisor virtiofsd coverage (74.84% statements)
cli.tsorchestration tests (50% branch coverage)Low Priority
4. Increase domain-patterns branch coverage (89.47%)
All reactions