• 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

0.0
/src/middleware/log_middleware.cpp
1
#include "middleware/log_middleware.h"
2

3
#include "logger/logger.h"
4
#include "network/response.h"
5

6
namespace middleware {
NEW
7
void LogMiddleware::preprocess(const network::Request& request) const {
×
NEW
8
    LOG_INFO("Received {} request path {} with body {}",
×
NEW
9
             request.methodToString(), request.path, request.body);
×
NEW
10
}
×
11

NEW
12
void LogMiddleware::postprocess(const network::Response& response) const {
×
NEW
13
    LOG_INFO("Response {} with status code {}", response.response_data,
×
NEW
14
             response.HTTPCodeToString());
×
NEW
15
}
×
16
}  // namespace middleware
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