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)); } |
172
|
0 |
0 |
inline bool is_scalar_unsafe() const { return (SvTYPE(sv) <= SVt_PVMG || SvTYPE(sv) == SVt_PVGV); } |
|
0 |
0 |
inline bool is_scalar_unsafe() const { return (SvTYPE(sv) <= SVt_PVMG || SvTYPE(sv) == SVt_PVGV); } |