line |
true |
false |
branch |
48
|
8 |
26 |
Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); } |
|
8 |
0 |
Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); } |
|
13 |
0 |
Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); } |
|
13 |
0 |
Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); } |
|
34 |
0 |
Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); } |
|
15 |
19 |
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); } |
|
0 |
0 |
Sv (T* sv, bool policy = INCREMENT) : sv((SV*)sv) { if (policy == INCREMENT) SvREFCNT_inc_simple_void(sv); } |
57
|
295 |
0 |
SvREFCNT_inc_simple_void(val); |
|
0 |
0 |
SvREFCNT_inc_simple_void(val); |
60
|
295 |
0 |
SvREFCNT_dec(old); |
|
0 |
0 |
SvREFCNT_dec(old); |
94
|
26 |
0 |
bool is_ref () const { return sv && SvROK(sv); } |
|
13 |
13 |
bool is_ref () const { return sv && SvROK(sv); } |
106
|
13 |
13 |
bool is_object_ref () const { return is_ref() && SvOBJECT(SvRV(sv)); } |
|
13 |
0 |
bool is_object_ref () const { return is_ref() && SvOBJECT(SvRV(sv)); } |
141
|
0 |
0 |
if (type() < SVt_PVMG) return Payload(); |
142
|
0 |
0 |
for (MAGIC* mg = SvMAGIC(sv); mg; mg = mg->mg_moremagic) if (mg->mg_virtual == marker) return Payload { mg->mg_ptr, mg->mg_obj }; |
|
0 |
0 |
for (MAGIC* mg = SvMAGIC(sv); mg; mg = mg->mg_moremagic) if (mg->mg_virtual == marker) return Payload { mg->mg_ptr, mg->mg_obj }; |
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)); } |