Branch Coverage

XS.xs
Criterion Covered Total %
branch 1 216 0.4


line true false branch
74 0 0 if (msg && SvROK (msg))
0 0 if (msg && SvROK (msg))
97 0 0 IV index = SvIV (*hv_fetch ((HV *)cur_bufobj, "_index" , sizeof ("_index" ) - 1, 1));
100 0 0 buf = SvPVbyte (bufsv, len);
114 0 23 if (!cv)
125 0 0 if (!msg)
129 0 0 PUSHMARK (SP);
130 0 0 EXTEND (SP, 2);
140 0 0 if (count < 0 || (int)rem < count)
0 0 if (count < 0 || (int)rem < count)
152 0 0 if (!need (count))
166 0 0 if (rem <= 0)
186 0 0 if (!(c & 0x80))
208 0 0 if (res & 0x80)
238 0 0 if (length <= 0)
246 0 0 if (!data)
249 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]))
255 0 0 U32 res = data [0] & 0x80 ? 0xffffffff : 0;
257 0 0 while (length--)
282 0 0 if (length <= 0)
290 0 0 if (!data)
293 0 0 if (length > 8 + !data [0])
0 0 if (length > 8 + !data [0])
299 0 0 U64TYPE res = data [0] & 0x80 ? -1 : 0;
301 0 0 while (length--)
327 0 0 if (!data)
340 0 0 if (u < 10)
352 0 0 while (u);
356 0 0 while (--ptr > beg)
373 0 0 if (length <= 0)
385 0 0 if (leading_dot < 0)
386 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));
393 0 0 if (w < 2 * 40)
404 0 0 while (cur < end && oid + sizeof (oid) - app > 64)
0 0 while (cur < end && oid + sizeof (oid) - app > 64)
452 0 0 if (type > AvFILLp (av_type)
453 0 0 || AvARRAY (av_type)[type] == 0
454 0 0 || AvARRAY (av_type)[type] == &PL_sv_undef)
461 0 0 PUSHMARK (SP);
462 0 0 EXTEND (SP, 2);
468 0 0 res = count ? SvREFCNT_inc (TOPs) : &PL_sv_undef;
472 0 0 return errflag ? &PL_sv_undef : res;
516 0 0 const char *vstr = SvPVbyte (value, vlen);
518 0 0 if (ix)
523 0 0 buf = SvPVbyte (bufsv, len);
531 0 0 XPUSHs (&PL_sv_yes);
539 0 0 if (count < 0)
543 0 0 XPUSHs (sv_2mortal (newSVsv (bufsv)));
555 0 0 if (data)
556 0 0 XPUSHs (sv_2mortal (newSVpvn (data, count)));
563 0 0 if (ndx >= 0 && ndx < len)
0 0 if (ndx >= 0 && ndx < len)
625 0 0 if (length != 4)
644 0 0 if (found)
647 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))
658 0 0 if (get8 () != (ASN_SEQUENCE | ASN_CONSTRUCTED))
672 0 0 while (cur < end && !errflag)
0 0 while (cur < end && !errflag)
675 0 0 if (get8 () != (ASN_SEQUENCE | ASN_CONSTRUCTED))
679 0 0 if (get8 () != ASN_OBJECT_IDENTIFIER)
693 0 0 if (SvIV (pdu_type) == 0xa8) // REPORT
0 0 if (SvIV (pdu_type) == 0xa8) // REPORT
695 0 0 PUSHMARK (SP);
696 0 0 XPUSHs (msg);
716 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_))
720 0 0 char *base = SvPVbyte (base_, blen);
721 0 0 char *oid = SvPVbyte (oid_ , olen);
726 0 0 if (olen < blen)
729 0 0 if (memcmp (base, oid, blen))
732 0 0 if (oid [blen] && oid [blen] != '.')
0 0 if (oid [blen] && oid [blen] != '.')
747 0 0 for (i = items; i--; )
751 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)
752 0 0 SvPV_force_nolen (sv);
757 0 0 EXTEND (SP, items);
0 0 EXTEND (SP, items);
759 0 0 for (i = 0; i < items; ++i)