• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

egorpristanskii / distributed_storage / 16243493732

13 Jul 2025 12:27AM UTC coverage: 81.986% (-6.2%) from 88.204%
16243493732

push

github

egorpristanskii
Fix bw and custom coroutines mix, add middleware integration, add log middleware

49 of 66 branches covered (74.24%)

Branch coverage included in aggregate %.

26 of 57 new or added lines in 6 files covered. (45.61%)

2 existing lines in 2 files now uncovered.

306 of 367 relevant lines covered (83.38%)

11.11 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

72.73
/src/network/response.cpp
1
#include "network/response.h"
2

3
#include "network/http_codes.h"
4

5
#include <format>
6

7
namespace network {
8
std::string Response::toString() const {
6✔
9
    return std::format(
6✔
10
        "HTTP/1.1 {}\r\n"
6✔
11
        "Content-Type: application/json\r\n"
6✔
12
        "Content-Length: {}\r\n\r\n"
6✔
13
        "{}",
6✔
14
        kHTTPCodeToString.at(status_code), response_data.size(), response_data);
6✔
15
}
6✔
16

NEW
17
std::string_view Response::HTTPCodeToString() const {
×
NEW
18
    return kHTTPCodeToString.at(status_code);
×
NEW
19
}
×
20
}  // namespace network
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc