Branch Coverage

src/xh_x2h.h
Criterion Covered Total %
branch 4 6 66.6


line true false branch
150 16 0 if (ctx->nodes != NULL) free(ctx->nodes);
151 3 13 if (ctx->tmp != NULL) free(ctx->tmp);
168 0 16 if ((ctx->nodes = malloc(sizeof(xh_x2h_node_t) * ctx->opts.max_depth)) == NULL) {