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

vasild / cpp-ipfs-http-client / 139
100%

Build:
DEFAULT BRANCH: master
Ran 05 Nov 2019 09:07PM UTC
Jobs 1
Files 5
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
139

push

travis-ci

vasild
Collect coverage with gcc6

The output generated by GCC 8 and 9 is confusing the coveralls script
when C++ templates are involved and it generates bogus reports (shows
lines without code as being executed multiple times, or red - without
coverage):

https://coveralls.io/builds/26775071/source?filename=src/client.cc#L494

https://travis-ci.org/vasild/cpp-ipfs-http-client/builds/607739355#L1524

        -:  476:template <class PropertyType>
       22:  477:void Client::GetProperty(const Json& input, const std::string& property_name,
        -:  478:                         size_t line_number, PropertyType* property_value) {
       22:  479:  if (input.find(property_name) == input.end()) {
        -:  480:    throw std::runtime_error(
        -:  481:        std::string("Unexpected reply: valid JSON, but without the \"") +
        -:  482:        property_name + "\" property on line " + std::to_string(line_number) +
       1*:  483:        ":\n" + input.dump());
        -:  484:  }
        -:  485:
       21:  486:  *property_value = input[property_name];
       21:  487:}
------------------
_ZN4ipfs6Client11GetPropertyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRKN8nlohmann10basic_jsonISt3mapSt6vectorS7_blmdSaNS8_14adl_serializerEEERKS7_mPT_:
       17:  477:void Client::GetProperty(const Json& input, const std::string& property_name,
        -:  478:                         size_t line_number, PropertyType* property_value) {
       17:  479:  if (input.find(property_name) == input.end()) {
        -:  480:    throw std::runtime_error(
        -:  481:        std::string("Unexpected reply: valid JSON, but without the \"") +
        -:  482:        property_name + "\" property on line " + std::to_string(line_number) +
    #####:  483:        ":\n" + input.dump());
        -:  484:  }
        -:  485:
       17:  486:  *property_value = input[property_name];
       17:  487:}
------------------
_ZN4ipfs6Client11GetPropertyIN8nlohmann10basic_js... (continued)

373 of 373 relevant lines covered (100.0%)

49.47 hits per line

Jobs
ID Job ID Ran Files Coverage
5 139.5 (TAG="Compile with gcc 6 and assess coverage" CXX_=g++-6 CXXFLAGS="-g -O0 --coverage" LDFLAGS="-g -O0 --coverage") 05 Nov 2019 09:07PM UTC 0
100.0
Travis Job 139.5
Source Files on build 139
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #139
  • 763e59ad on github
  • Prev Build on master (#124)
  • Next Build on master (#141)
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