line |
true |
false |
branch |
11
|
277 |
0 |
if (content && content_len) { |
|
263 |
14 |
if (content && content_len) { |
54
|
0 |
58 |
if (ctx->line_len < expected_len) |
57
|
0 |
58 |
if (memcmp(ctx->line, expected, expected_len) != 0) |
68
|
4879 |
0 |
while (ctx->line_len > 0 && |
|
4870 |
9 |
while (ctx->line_len > 0 && |
69
|
1964 |
2906 |
ctx->line[0] != '\n' && |
82
|
0 |
0 |
if (ctx->line_len != 1 || ctx->line[0] != '\n') |
|
0 |
0 |
if (ctx->line_len != 1 || ctx->line[0] != '\n') |
94
|
8 |
0 |
if (ctx->line_len < 1 || !git__isdigit(ctx->line[0])) |
|
0 |
8 |
if (ctx->line_len < 1 || !git__isdigit(ctx->line[0])) |
97
|
0 |
8 |
if ((ret = git__strntol64(out, ctx->line, ctx->line_len, &end, base)) < 0) |
106
|
0 |
78 |
if (ctx->line_len < GIT_OID_HEXSZ) |
108
|
0 |
78 |
if ((git_oid_fromstrn(out, ctx->line, GIT_OID_HEXSZ)) < 0) |
119
|
7962 |
942 |
while (remain) { |