Branch Coverage

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


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