Branch Coverage

t/lib/MyTest_xsgen.cc
Criterion Covered Total %
branch 19 182 10.4


line true false branch
176 0 0 if (items != 1)
184 0 0 const char* __str_buf = SvPV(ST(0), __str_len);
0 0 const char* __str_buf = SvPV(ST(0), __str_len);
194 0 0 }); }
201 0 0 if (items != 1)
209 0 0 const char* __str_buf = SvPV(ST(0), __str_len);
0 0 const char* __str_buf = SvPV(ST(0), __str_len);
219 0 0 }); }
226 0 0 if (items != 1)
230 0 0 dXSTARG;
0 0 dXSTARG;
234 0 0 const char* __format_buf = SvPV(ST(0), __format_len);
0 0 const char* __format_buf = SvPV(ST(0), __format_len);
246 0 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
249 0 0 }); }
256 0 0 if (items != 1)
260 0 0 dXSTARG;
0 0 dXSTARG;
264 0 0 const char* __tz_buf = SvPV(ST(0), __tz_len);
0 0 const char* __tz_buf = SvPV(ST(0), __tz_len);
271 0 0 XSprePUSH; PUSHu((UV)RETVAL);
0 0 XSprePUSH; PUSHu((UV)RETVAL);
274 0 0 }); }
281 0 0 if (items != 0)
292 0 0 }); }
299 0 0 if (items != 0)
306 0 0 ST(0) = boolSV(RETVAL);
309 0 0 }); }
320 0 0 if (items != 1)
324 0 0 ptime_t epoch = xs::in(ST(0));
348 0 0 if (!RETVAL) XSRETURN_UNDEF;
349 0 0 RETVALSV = newRV_noinc(RETVAL.detach());
350 0 0 RETVALSV = sv_2mortal(RETVALSV);
351 0 0 ST(0) = RETVALSV;
355 0 0 }); }
363 0 0 if (items != 1)
367 0 0 time_t epoch = (time_t)SvIV(ST(0))
0 0 time_t epoch = (time_t)SvIV(ST(0))
391 0 0 if (!RETVAL) XSRETURN_UNDEF;
392 0 0 RETVALSV = newRV_noinc(RETVAL.detach());
393 0 0 RETVALSV = sv_2mortal(RETVALSV);
394 0 0 ST(0) = RETVALSV;
398 0 0 }); }
406 0 0 if (items != 6)
410 0 0 ptime_t sec = xs::in(ST(0));
412 0 0 ptime_t min = xs::in(ST(1));
414 0 0 ptime_t hour = xs::in(ST(2));
416 0 0 ptime_t mday = xs::in(ST(3));
418 0 0 ptime_t mon = xs::in(ST(4));
420 0 0 ptime_t year = xs::in(ST(5));
444 0 0 RETVALSV = xs::out(RETVAL, PROTO).detach();
445 0 0 RETVALSV = sv_2mortal(RETVALSV);
450 0 0 }); }
458 0 0 if (items != 6)
462 0 0 dXSTARG;
0 0 dXSTARG;
463 0 0 int64_t sec = (int64_t)SvIV(ST(0))
0 0 int64_t sec = (int64_t)SvIV(ST(0))
465 0 0 int64_t min = (int64_t)SvIV(ST(1))
0 0 int64_t min = (int64_t)SvIV(ST(1))
467 0 0 int64_t hour = (int64_t)SvIV(ST(2))
0 0 int64_t hour = (int64_t)SvIV(ST(2))
469 0 0 int64_t mday = (int64_t)SvIV(ST(3))
0 0 int64_t mday = (int64_t)SvIV(ST(3))
471 0 0 int64_t mon = (int64_t)SvIV(ST(4))
0 0 int64_t mon = (int64_t)SvIV(ST(4))
473 0 0 int64_t year = (int64_t)SvIV(ST(5))
0 0 int64_t year = (int64_t)SvIV(ST(5))
492 0 0 XSprePUSH; PUSHi((IV)RETVAL);
0 0 XSprePUSH; PUSHi((IV)RETVAL);
495 0 0 }); }
507 0 47 dVAR; dXSBOOTARGSXSAPIVERCHK;
0 47 dVAR; dXSBOOTARGSXSAPIVERCHK;
529 47 0 newXS_deffile("MyTest::bench_parse", XS_MyTest_bench_parse);
530 47 0 newXS_deffile("MyTest::bench_rparse", XS_MyTest_bench_rparse);
531 47 0 newXS_deffile("MyTest::bench_strftime", XS_MyTest_bench_strftime);
532 47 0 newXS_deffile("MyTest::bench_tzget", XS_MyTest_bench_tzget);
533 47 0 newXS_deffile("MyTest::bench_hints_get", XS_MyTest_bench_hints_get);
534 47 0 newXS_deffile("MyTest::get_strict_hint", XS_MyTest_get_strict_hint);
536 47 0 cv = newXS_deffile("MyTest::gmtime_bench", XS_MyTest_gmtime_bench);
538 47 0 cv = newXS_deffile("MyTest::localtime_bench", XS_MyTest_gmtime_bench);
540 47 0 cv = newXS_deffile("MyTest::posix_gmtime_bench", XS_MyTest_posix_gmtime_bench);
542 47 0 cv = newXS_deffile("MyTest::posix_localtime_bench", XS_MyTest_posix_gmtime_bench);
544 47 0 cv = newXS_deffile("MyTest::timegm_bench", XS_MyTest_timegm_bench);
546 47 0 cv = newXS_deffile("MyTest::timegml_bench", XS_MyTest_timegm_bench);
548 47 0 cv = newXS_deffile("MyTest::timelocal_bench", XS_MyTest_timegm_bench);
550 47 0 cv = newXS_deffile("MyTest::timelocall_bench", XS_MyTest_timegm_bench);
552 47 0 cv = newXS_deffile("MyTest::posix_timegm_bench", XS_MyTest_posix_timegm_bench);
554 47 0 cv = newXS_deffile("MyTest::posix_timelocal_bench", XS_MyTest_posix_timegm_bench);
576 47 0 }); }