You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Line coverage is the highest of the top-5 (already past halfway), but branch coverage at 22.5% of 1060 branches indicates extensive error-path dead-code or untested algorithmic variants (cipher suites, key derivation phases, packet-number-encryption edge cases).
Why
Cryptographic code must be validated against a wide range of adversarial inputs; uncovered branches in a TLS/QUIC crypto path are latent correctness/security risks.
Closer to target than the other top-5 files; moderate priority.
Where
Source: src/protocols/quic/crypto.cpp
Existing tests to extend: tests/unit/quic_crypto_test.cpp
Part of #953
What
Raise line coverage of
src/protocols/quic/crypto.cppfrom 59.5% to >= 80%, and branch coverage from 22.5% to >= 70%.Current state (2026-04-17 measurement, source PR #989):
tests/unit/quic_crypto_test.cpp— 426 LOC, 25 GTEST casesLine coverage is the highest of the top-5 (already past halfway), but branch coverage at 22.5% of 1060 branches indicates extensive error-path dead-code or untested algorithmic variants (cipher suites, key derivation phases, packet-number-encryption edge cases).
Why
Where
src/protocols/quic/crypto.cpptests/unit/quic_crypto_test.cppHow
Approach
Acceptance Criteria
src/protocols/quic/crypto.cppline coverage >= 80%src/protocols/quic/crypto.cppbranch coverage >= 70%tests/unit/quic_crypto_test.cppor split by concernDependencies