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

c-ares / c-ares / #100
92%

Build:
DEFAULT BRANCH: main
Ran 13 Oct 2023 10:35AM UTC
Jobs 1
Files 134
Run time 3s
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

13 Oct 2023 10:30AM UTC coverage: 86.295% (+0.05%) from 86.244%
#100

push

travis-ci

web-flow
introduce ares_bool_t datatype (#570)

c-ares currently uses int for boolean, which can be confusing as there are some functions which return int but use '0' as the success condition. Some internal variable usage is similar. Lets try to identify the boolean use cases and split them out into their own data type of ares_bool_t. Since we're trying to keep C89 compatibility, we can't rely on stdbool.h or the _Bool C99 data type, so we'll define our own.

Also, chose using an enum rather than say unsigned char or int because of the type safety benefits it provides. Compilers should warn if you try to pass, ARES_TRUE on to a ares_status_t enum (or similar) since they are different enums.

Fix By: Brad House (@bradh352)

133 of 133 new or added lines in 15 files covered. (100.0%)

5075 of 5881 relevant lines covered (86.29%)

11049.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #100.1 13 Oct 2023 10:35AM UTC 0
86.29
Source Files on build #100
Detailed source file information is not available for this build.
  • Back to Repo
  • 75a873c8 on github
  • Prev Build on main
  • Next Build on main
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