Branch Coverage

src/sorting.c
Criterion Covered Total %
branch 12 28 42.8


line true false branch
17 0 18 if (c->err) return 0;
22 5 13 if (!c->callback) {
33 0 13 PUSHMARK(SP);
34 0 13 EXTEND(SP, 2);
35 0 13 XPUSHs(sv_a);
36 0 13 XPUSHs(sv_b);
42 13 0 if (SvTRUE(ERRSV)) {
0 13 if (SvTRUE(ERRSV)) {
43 0 0 c->err = newSVsv(ERRSV);
44 0 0 sv_setsv(ERRSV, &PL_sv_undef);
46 0 0 FREETMPS;
51 13 0 SV *ret = (count > 0) ? POPs : &PL_sv_undef;
52 0 13 if (!SvOK(ret)) {
60 13 0 FREETMPS;