Branch Coverage

XS.xs
Criterion Covered Total %
branch 1 212 0.4


line true false branch
53 0 0 if (msg && SvROK (msg))
0 0 if (msg && SvROK (msg))
76 0 0 IV index = SvIV (*hv_fetch ((HV *)cur_bufobj, "_index" , sizeof ("_index" ) - 1, 1));
79 0 0 buf = SvPVbyte (bufsv, len);
93 0 23 if (!cv)
104 0 0 if (!msg)
108 0 0 PUSHMARK (SP);
109 0 0 EXTEND (SP, 2);
119 0 0 if (count < 0 || (int)rem < count)
0 0 if (count < 0 || (int)rem < count)
131 0 0 if (!need (count))
145 0 0 if (rem <= 0)
165 0 0 if (!(c & 0x80))
187 0 0 if (res & 0x80)
217 0 0 if (length <= 0)
225 0 0 if (!data)
228 0 0 if (length > 5 || (length > 4 && data [0]))
0 0 if (length > 5 || (length > 4 && data [0]))
0 0 if (length > 5 || (length > 4 && data [0]))
234 0 0 U32 res = data [0] & 0x80 ? 0xffffffff : 0;
236 0 0 while (length--)
261 0 0 if (length <= 0)
269 0 0 if (!data)
272 0 0 if (length > 9 || (length > 8 && data [0]))
0 0 if (length > 9 || (length > 8 && data [0]))
0 0 if (length > 9 || (length > 8 && data [0]))
278 0 0 U64TYPE res = data [0] & 0x80 ? 0xffffffffffffffff : 0;
280 0 0 while (length--)
306 0 0 if (!data)
319 0 0 if (u < 10)
332 0 0 if (length <= 0)
344 0 0 if (leading_dot < 0)
345 0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
0 0 leading_dot = SvTRUE (*hv_fetch ((HV *)SvRV (msg), "_leading_dot", sizeof ("_leading_dot") - 1, 1));
353 0 0 while (cur < end && oid + sizeof (oid) - app > 64)
0 0 while (cur < end && oid + sizeof (oid) - app > 64)
401 0 0 if (type > AvFILLp (av_type)
402 0 0 || AvARRAY (av_type)[type] == 0
403 0 0 || AvARRAY (av_type)[type] == &PL_sv_undef)
410 0 0 PUSHMARK (SP);
411 0 0 EXTEND (SP, 2);
417 0 0 res = count ? SvREFCNT_inc (TOPs) : &PL_sv_undef;
421 0 0 return errflag ? &PL_sv_undef : res;
465 0 0 const char *vstr = SvPVbyte (value, vlen);
467 0 0 if (ix)
472 0 0 buf = SvPVbyte (bufsv, len);
480 0 0 XPUSHs (&PL_sv_yes);
488 0 0 if (count < 0)
492 0 0 XPUSHs (sv_2mortal (newSVsv (bufsv)));
504 0 0 if (data)
505 0 0 XPUSHs (sv_2mortal (newSVpvn (data, count)));
512 0 0 if (ndx >= 0 && ndx < len)
0 0 if (ndx >= 0 && ndx < len)
581 0 0 if (length != 4)
601 0 0 if (found)
604 0 0 if (SvOK (expected) && type != SvIV (expected))
0 0 if (SvOK (expected) && type != SvIV (expected))
0 0 if (SvOK (expected) && type != SvIV (expected))
0 0 if (SvOK (expected) && type != SvIV (expected))
0 0 if (SvOK (expected) && type != SvIV (expected))
616 0 0 if (get8 () != ASN_SEQUENCE)
629 0 0 while (cur < end && !errflag)
0 0 while (cur < end && !errflag)
632 0 0 if (get8 () != ASN_SEQUENCE)
636 0 0 if (get8 () != ASN_OBJECT_IDENTIFIER)
650 0 0 if (SvIV (pdu_type) == 0xa8) // REPORT
0 0 if (SvIV (pdu_type) == 0xa8) // REPORT
652 0 0 PUSHMARK (SP);
653 0 0 XPUSHs (msg);
674 0 0 if (!SvOK (base_) || !SvOK (oid_))
0 0 if (!SvOK (base_) || !SvOK (oid_))
0 0 if (!SvOK (base_) || !SvOK (oid_))
0 0 if (!SvOK (base_) || !SvOK (oid_))
0 0 if (!SvOK (base_) || !SvOK (oid_))
0 0 if (!SvOK (base_) || !SvOK (oid_))
678 0 0 char *base = SvPVbyte (base_, blen);
679 0 0 char *oid = SvPVbyte (oid_ , olen);
684 0 0 if (olen < blen)
687 0 0 if (memcmp (base, oid, blen))
690 0 0 if (oid [blen] && oid [blen] != '.')
0 0 if (oid [blen] && oid [blen] != '.')
705 0 0 for (i = items; i--; )
709 0 0 if (SvTYPE (sv) < SVt_PV || SvTYPE (sv) == SVt_PVAV && SvTYPE (sv) == SVt_PVHV)
0 0 if (SvTYPE (sv) < SVt_PV || SvTYPE (sv) == SVt_PVAV && SvTYPE (sv) == SVt_PVHV)
0 0 if (SvTYPE (sv) < SVt_PV || SvTYPE (sv) == SVt_PVAV && SvTYPE (sv) == SVt_PVHV)
710 0 0 SvPV_force_nolen (sv);
715 0 0 EXTEND (SP, items);
0 0 EXTEND (SP, items);
717 0 0 for (i = 0; i < items; ++i)