Branch Coverage

XS.xs
Criterion Covered Total %
branch 21 34 61.7


line true false branch
15 0 3 if ((opts = xh_create_opts()) == NULL)
18 3 2 XCPT_TRY_START
23 2 1 XCPT_CATCH
26 2 0 XCPT_RETHROW;
0 0 XCPT_RETHROW;
40 41 0 XCPT_TRY_START
57 0 41 XCPT_CATCH
60 0 0 XCPT_RETHROW;
0 0 XCPT_RETHROW;
63 2 39 if (ctx.opts.output != NULL) result = NULL;
67 2 39 if (result == NULL) XSRETURN_UNDEF;
81 16 4 XCPT_TRY_START
88 4 12 XCPT_CATCH
91 4 0 XCPT_RETHROW;
0 0 XCPT_RETHROW;
94 1 11 if (ctx.opts.cb != NULL) result = NULL;
98 1 11 if (result == NULL) XSRETURN_UNDEF;