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
Raise line coverage of src/internal/http_error.cpp from 3.2% to >= 70%, and branch coverage to >= 60%.
Current state (pre-Step-1 snapshot, 2026-04-13 measurement from parent epic #953):
Lines hit: 6 / 190 (3.2%)
File size: 190 LOC
Note: These numbers predate the BUILD_WITH_* workflow fix (#987, #989). A re-measurement on the current develop baseline will be captured in the PR description before merging.
Why
http_error.cpp at 3.2% line coverage is one of the lowest-covered implementation files in the project.
HTTP error mapping is consumed across all HTTP client/server code paths; incorrect error translation leaks implementation detail to downstream users.
Small file, high leverage: ~190 lines is a tractable single-PR scope that meaningfully moves overall line coverage.
Part of #953
What
Raise line coverage of
src/internal/http_error.cppfrom 3.2% to >= 70%, and branch coverage to >= 60%.Current state (pre-Step-1 snapshot, 2026-04-13 measurement from parent epic #953):
Why
http_error.cppat 3.2% line coverage is one of the lowest-covered implementation files in the project.Where
src/internal/http_error.cppinclude/kcenon/network/internal/http_error.hpp(verify exact path)tests/unit/— check for existinghttp_error_test.cppbefore addingtests/unit/internal/http_error_test.cppHow
Approach
http_error.cpp.Acceptance Criteria
src/internal/http_error.cppline coverage >= 70%src/internal/http_error.cppbranch coverage >= 60%tests/unit/Dependencies