Branch Coverage

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


line true false branch
45 0 0 if (ret < 0)
67 0 0 GIT_ASSERT(ptr - buf->data >= 0);
68 0 0 GIT_ASSERT(ptr - buf->data <= (int) buf->len);
93 0 0 if (c == '\0')
94 0 0 return *host ? -1 : 0;
96 0 0 if (c == '*') {
99 0 0 if (c == '\0')
108 0 0 while(*host) {
110 0 0 if (c == h)
112 0 0 if (h == '.')
119 0 0 if (c != git__tolower(*host++))