Branch Coverage

Export.xs
Criterion Covered Total %
branch 11 16 68.7


line true false branch
11 10 0 if (strEQ(SvPV_nolen(ctx_class), "Panda::Export")) {
5 5 if (strEQ(SvPV_nolen(ctx_class), "Panda::Export")) {
12 1 4 if (items < 2) XSRETURN(0);
14 4 0 if (SvROK(arg) && SvTYPE(SvRV(arg)) == SVt_PVHV) create_constants(aTHX_ caller_stash, (HV*)SvRV(arg));
3 1 if (SvROK(arg) && SvTYPE(SvRV(arg)) == SVt_PVHV) create_constants(aTHX_ caller_stash, (HV*)SvRV(arg));
19 0 5 if (ctx_stash == NULL) EX_CROAK_NOPACKAGE(ctx_class);
20 4 1 if (items > 1) export_subs(aTHX_ ctx_stash, caller_stash, &ST(1), items-1);
27 0 0 if (ctx_stash == NULL) EX_CROAK_NOPACKAGE(ctx_class);