line |
true |
false |
branch |
61
|
0 |
0 |
if (!(sv_isobject (sv) && sv_derived_from (sv, SvPV_nolen (full_type)))) |
|
0 |
0 |
if (!(sv_isobject (sv) && sv_derived_from (sv, SvPV_nolen (full_type)))) |
|
0 |
0 |
if (!(sv_isobject (sv) && sv_derived_from (sv, SvPV_nolen (full_type)))) |
62
|
0 |
0 |
croak("Argument is not of type %s @ (%s:%d)\n", |
65
|
0 |
0 |
return INT2PTR (void *, SvIV ((SV *) SvRV (sv))); |
82
|
37 |
340 |
if (SvIOKp (sv)) |
84
|
0 |
37 |
if (SvUOK (sv)) |
105
|
25 |
315 |
else if (SvPOKp (sv)) |
107
|
5 |
20 |
if (SvUTF8 (sv)) |
118
|
2 |
313 |
else if (SvNOKp (sv)) |
122
|
50 |
263 |
else if (SvROK (sv)) |
124
|
25 |
25 |
if (sv_isobject (sv) && sv_derived_from (sv, "MsgPack::Raw::Bool")) |
|
10 |
15 |
if (sv_isobject (sv) && sv_derived_from (sv, "MsgPack::Raw::Bool")) |
126
|
10 |
0 |
if (SvIV (SvRV (sv))) |
|
5 |
5 |
if (SvIV (SvRV (sv))) |
131
|
15 |
25 |
else if (sv_isobject (sv) && sv_derived_from (sv, "MsgPack::Raw::Ext")) |
|
14 |
1 |
else if (sv_isobject (sv) && sv_derived_from (sv, "MsgPack::Raw::Ext")) |
137
|
14 |
0 |
if (!type || !SvOK (*type)) |
|
1 |
13 |
if (!type || !SvOK (*type)) |
|
1 |
0 |
if (!type || !SvOK (*type)) |
|
1 |
0 |
if (!type || !SvOK (*type)) |
139
|
13 |
0 |
if (!data || !SvOK (*data)) |
|
1 |
12 |
if (!data || !SvOK (*data)) |
|
1 |
0 |
if (!data || !SvOK (*data)) |
|
1 |
0 |
if (!data || !SvOK (*data)) |
141
|
12 |
0 |
if (!SvIOK(*type) || SvIV(*type) < 0 || SvIV(*type)>255) |
|
12 |
0 |
if (!SvIOK(*type) || SvIV(*type) < 0 || SvIV(*type)>255) |
|
11 |
1 |
if (!SvIOK(*type) || SvIV(*type) < 0 || SvIV(*type)>255) |
|
0 |
0 |
if (!SvIOK(*type) || SvIV(*type) < 0 || SvIV(*type)>255) |
|
11 |
0 |
if (!SvIOK(*type) || SvIV(*type) < 0 || SvIV(*type)>255) |
|
1 |
10 |
if (!SvIOK(*type) || SvIV(*type) < 0 || SvIV(*type)>255) |
|
0 |
0 |
if (!SvIOK(*type) || SvIV(*type) < 0 || SvIV(*type)>255) |
144
|
10 |
0 |
msgpack_pack_ext (&packer->packer, SvCUR (*data), SvIV (*type)); |
147
|
4 |
22 |
else if (SvTYPE (SvRV (sv)) == SVt_PVHV) |
154
|
6 |
4 |
while ((entry = hv_iternext (hash))) |
160
|
20 |
2 |
else if (SvTYPE (SvRV (sv)) == SVt_PVAV) |
166
|
295 |
20 |
for (i = 0; i < size; ++i) |
169
|
295 |
0 |
if (value && *value) |
|
295 |
0 |
if (value && *value) |
177
|
0 |
2 |
croak ("encountered object '%s', Data::MessagePack doesn't allow the object", |
181
|
263 |
0 |
else if (!SvOK (sv)) |
|
263 |
0 |
else if (!SvOK (sv)) |
|
263 |
0 |
else if (!SvOK (sv)) |
216
|
5 |
3 |
while (size--) |
229
|
4 |
2 |
while (size--) |