Branch Coverage

t/typemap/callback_dispatcher_xsgen.cc
Criterion Covered Total %
branch 51 158 32.2


line true false branch
211 0 1 if (items != 1)
221 1 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
222 1 0 RETVALSV = sv_2mortal(RETVALSV);
227 1 0 }); }
234 55 0 if (items < 1 || items > 2)
0 55 if (items < 1 || items > 2)
238 55 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 55 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
242 48 7 if (items < 2)
246 7 0 const char* __type_buf = SvPV(ST(1), __type_len);
0 0 const char* __type_buf = SvPV(ST(1), __type_len);
275 55 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
276 55 0 RETVALSV = sv_2mortal(RETVALSV);
281 55 0 }); }
288 0 18 if (items != 1)
292 18 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 18 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
300 18 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
301 18 0 RETVALSV = sv_2mortal(RETVALSV);
306 18 0 }); }
313 0 2 if (items != 1)
317 2 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 2 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
328 2 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
329 2 0 RETVALSV = sv_2mortal(RETVALSV);
334 2 0 }); }
341 0 0 if (items != 1)
345 0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
353 0 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
354 0 0 RETVALSV = sv_2mortal(RETVALSV);
359 0 0 }); }
366 14 0 if (items < 1 || items > 2)
0 14 if (items < 1 || items > 2)
370 14 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 14 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
374 8 6 if (items < 2)
378 6 0 const char* __type_buf = SvPV(ST(1), __type_len);
0 0 const char* __type_buf = SvPV(ST(1), __type_len);
405 14 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
406 14 0 RETVALSV = sv_2mortal(RETVALSV);
411 14 0 }); }
418 0 8 if (items != 1)
422 8 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 8 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
430 8 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
431 8 0 RETVALSV = sv_2mortal(RETVALSV);
436 8 0 }); }
443 0 4 if (items != 1)
447 4 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 4 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
459 4 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
460 4 0 RETVALSV = sv_2mortal(RETVALSV);
465 4 0 }); }
472 0 0 if (items != 1)
476 0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
0 0 DispatchingObject* THIS = xs::in(ST(0)); if (!SvOK(ST(0))) throw "undef not allowed as THIS";
484 0 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
485 0 0 RETVALSV = sv_2mortal(RETVALSV);
490 0 0 }); }
501 0 34 dVAR; dXSBOOTARGSXSAPIVERCHK;
0 34 dVAR; dXSBOOTARGSXSAPIVERCHK;
538 34 0 }); }