Branch Coverage

/usr/local/lib/perl5/site_perl/5.26.1/x86_64-linux/XS/Framework.x/i/xs/Sv.h
Criterion Covered Total %
branch 10 24 41.6


line true false branch
48 183 0 Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); }
183 0 Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); }
57 65 0 SvREFCNT_inc_simple_void(val);
60 65 0 SvREFCNT_dec(old);
94 77 0 bool is_ref () const { return sv && SvROK(sv); }
74 3 bool is_ref () const { return sv && SvROK(sv); }
106 74 3 bool is_object_ref () const { return is_ref() && SvOBJECT(SvRV(sv)); }
74 0 bool is_object_ref () const { return is_ref() && SvOBJECT(SvRV(sv)); }
171 0 0 inline bool is_undef() const { return (SvTYPE(sv) <= SVt_PVMG && !SvOK(sv)); }
0 0 inline bool is_undef() const { return (SvTYPE(sv) <= SVt_PVMG && !SvOK(sv)); }
0 0 inline bool is_undef() const { return (SvTYPE(sv) <= SVt_PVMG && !SvOK(sv)); }
0 0 inline bool is_undef() const { return (SvTYPE(sv) <= SVt_PVMG && !SvOK(sv)); }