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

bcpearce / hass-motion-detection-addon / 21126887229

19 Jan 2026 05:54AM UTC coverage: 17.99% (-32.0%) from 49.971%
21126887229

Pull #26

github

web-flow
Merge c98d1d60e into 0206cb867
Pull Request #26: Additional test coverage

292 of 1865 branches covered (15.66%)

Branch coverage included in aggregate %.

8 of 22 new or added lines in 3 files covered. (36.36%)

827 existing lines in 29 files now uncovered.

347 of 1687 relevant lines covered (20.57%)

28.54 hits per line

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

0.0
/src/Util/CurlMultiWrapper.cxx
1
#include "Util/CurlMultiWrapper.h"
2

3
#include <mutex>
4

5
namespace {
6
static std::once_flag curlGlobalFlag;
7
}
8

9
namespace util {
10

UNCOV
11
CurlMultiWrapper::CurlMultiWrapper() noexcept {
×
UNCOV
12
  std::call_once(curlGlobalFlag, curl_global_init, CURL_GLOBAL_ALL);
×
UNCOV
13
  pCurl_ = curl_multi_init();
×
UNCOV
14
}
×
15

16
CurlMultiWrapper::CurlMultiWrapper(CurlMultiWrapper &&other) noexcept
×
17
    : pCurl_(std::exchange(other.pCurl_, nullptr)) {}
×
18

19
CurlMultiWrapper &
20
CurlMultiWrapper::operator=(CurlMultiWrapper &&other) noexcept {
×
21
  if (this != &other) {
×
22
    this->pCurl_ = other.pCurl_;
×
23
    other.pCurl_ = nullptr;
×
24
  }
25
  return *this;
×
26
}
27

UNCOV
28
CurlMultiWrapper::~CurlMultiWrapper() noexcept {
×
UNCOV
29
  if (pCurl_) {
×
UNCOV
30
    curl_multi_cleanup(pCurl_);
×
31
  }
UNCOV
32
}
×
33

34
} // namespace util
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