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 29 54 53.7


line true false branch
35 6 3595 PANDA_GLOBAL_MEMBER_AS_PTR(PayloadMarker, payload_marker_t, get, payload_marker_t());
5 0 PANDA_GLOBAL_MEMBER_AS_PTR(PayloadMarker, payload_marker_t, get, payload_marker_t());
7 1005 PANDA_GLOBAL_MEMBER_AS_PTR(PayloadMarker, payload_marker_t, get, payload_marker_t());
2 41 PANDA_GLOBAL_MEMBER_AS_PTR(PayloadMarker, payload_marker_t, get, payload_marker_t());
8 2492 PANDA_GLOBAL_MEMBER_AS_PTR(PayloadMarker, payload_marker_t, get, payload_marker_t());
48 12 0 Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); }
12 0 Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); }
0 1 Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); }
0 0 Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); }
4665 7161 Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); }
4665 0 Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); }
57 112 0 SvREFCNT_inc_simple_void(val);
2502 0 SvREFCNT_inc_simple_void(val);
60 112 0 SvREFCNT_dec(old);
2502 0 SvREFCNT_dec(old);
88 4662 0 bool defined () const { return sv && SvOK(sv); }
12 4650 bool defined () const { return sv && SvOK(sv); }
12 0 bool defined () const { return sv && SvOK(sv); }
0 12 bool defined () const { return sv && SvOK(sv); }
97 4650 0 bool is_like_number () const { return sv && looks_like_number(sv); }
1727 2923 bool is_like_number () const { return sv && looks_like_number(sv); }
105 4650 0 bool is_object () const { return sv && SvOBJECT(sv); }
0 4650 bool is_object () const { return sv && SvOBJECT(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)); }