Branch Coverage

deps/libgit2/src/netops.c
Criterion Covered Total %
branch 0 22 0.0


line true false branch
46 0 0 if (ret < 0)
68 0 0 assert(ptr - buf->data >= 0);
69 0 0 assert(ptr - buf->data <= (int) buf->len);
92 0 0 if (c == '\0')
93 0 0 return *host ? -1 : 0;
95 0 0 if (c == '*') {
98 0 0 if (c == '\0')
107 0 0 while(*host) {
109 0 0 if (c == h)
111 0 0 if (h == '.')
118 0 0 if (c != git__tolower(*host++))