Branch Coverage

XS.xs.cc
Criterion Covered Total %
branch 70 160 43.7


line true false branch
188 1256 0 if (items < 0 || items > 1)
0 1256 if (items < 0 || items > 1)
194 1 1255 if (items < 1)
198 1255 0 const char* __zonename_buf = SvPV(ST(0), __zonename_len);
0 0 const char* __zonename_buf = SvPV(ST(0), __zonename_len);
208 1256 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
209 1256 0 RETVALSV = sv_2mortal(RETVALSV);
214 1256 0 }); }
221 0 15 if (items != 0)
225 15 0 dXSTARG;
0 0 dXSTARG;
229 15 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 15 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
232 15 0 }); }
239 112 0 if (items < 0 || items > 1)
0 112 if (items < 0 || items > 1)
246 3 109 if (items < 1)
260 112 0 }); }
267 29 0 if (items < 0 || items > 1)
0 29 if (items < 0 || items > 1)
271 29 0 dXSTARG;
0 0 dXSTARG;
274 3 26 if (items < 1)
288 29 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 29 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
29 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
291 29 0 }); }
298 0 26 if (items != 0)
302 26 0 dXSTARG;
0 0 dXSTARG;
306 26 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 26 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
309 26 0 }); }
317 23760 0 if (items < 0 || items > 1)
0 23760 if (items < 0 || items > 1)
324 0 23760 if (items < 1)
367 23760 0 }); }
375 23827 0 if (items < 6 || items > 7)
0 23827 if (items < 6 || items > 7)
379 23827 0 dXSTARG;
0 0 dXSTARG;
394 34 23793 if (items < 7)
438 23700 126 XSprePUSH; PUSHi((IV)RETVAL);
126 0 XSprePUSH; PUSHi((IV)RETVAL);
441 23826 0 }); }
451 0 2467 if (items != 1)
455 2467 0 dXSTARG;
0 0 dXSTARG;
456 2467 0 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2467 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
461 2467 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 2467 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
0 0 XSprePUSH; PUSHp(RETVAL.data(), RETVAL.length());
464 2467 0 }); }
471 0 1229 if (items != 1)
475 1229 0 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1229 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
480 2 1227 ST(0) = boolSV(RETVAL);
483 1229 0 }); }
490 0 1228 if (items != 1)
494 1228 0 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 1228 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
1228 0 TimezoneSP THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
550 0 1228 if (!RETVAL) XSRETURN_UNDEF;
551 1228 0 RETVALSV = newRV_noinc(RETVAL.detach());
552 1228 0 RETVALSV = sv_2mortal(RETVALSV);
553 1228 0 ST(0) = RETVALSV;
557 1228 0 }); }
571 0 26 dVAR; dXSBOOTARGSXSAPIVERCHK;
0 26 dVAR; dXSBOOTARGSXSAPIVERCHK;
619 26 0 }); }