| line |
true |
false |
branch |
|
13
|
2181 |
0 |
if defined $value and not ref $value and not _is_bool($value) |
|
21
|
0 |
5518 |
unless defined $value |
|
22
|
0 |
5518 |
if ref $value |
|
23
|
84 |
5434 |
if utf8::is_utf8($value) |
|
26
|
1156 |
4278 |
if $flags & 12288 and not $flags & 16384 |
|
34
|
1 |
5614 |
if ($ref eq "SCALAR" and defined $$value) |
|
35
|
0 |
1 |
if $$value eq 0 |
|
36
|
1 |
0 |
if $$value eq 1 |
|
39
|
0 |
5614 |
if (builtin::blessed($value) and $value->isa("Types::Serialiser::Boolean")) |
|
43
|
96 |
5518 |
if (builtin::blessed($value) and $value->isa("JSON::PP::Boolean")) |
|
47
|
0 |
5518 |
unless defined $value |
|
48
|
0 |
5518 |
if $ref |
|
49
|
5482 |
36 |
unless &isdual($value) |
|
50
|
0 |
0 |
if $value and "$value" eq 1 and $value + 0 == 1 |
|
51
|
0 |
36 |
if not $value and "$value" eq "" and $value + 0 == 0 |
|
66
|
86 |
10088 |
if (builtin::blessed($obj) and $obj->isa("XML::LibXML::Document")) |
|
72
|
3565 |
6609 |
if ($is_xml) { } |
|
|
1806 |
4803 |
elsif (ref $obj) { } |
|
|
3019 |
1784 |
elsif ($parent) { } |
|
78
|
0 |
3019 |
unless defined $pid |
|
79
|
3019 |
0 |
defined $key ? : |
|
116
|
8378 |
2 |
if @_ == 1 |
|
118
|
2 |
8378 |
if (builtin::blessed($x) and $x->isa("CBOR::Free::Tagged")) |
|
122
|
0 |
8378 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Namespace")) |
|
125
|
27 |
8351 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Attr")) |
|
128
|
1278 |
7073 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Text")) |
|
131
|
2137 |
4936 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Element")) |
|
134
|
0 |
4936 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Document")) |
|
137
|
0 |
4936 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Comment")) |
|
141
|
0 |
4936 |
if (builtin::blessed($x) and $x->isa("Math::BigInt")) |
|
145
|
101 |
4835 |
unless defined $x |
|
146
|
872 |
3963 |
if ref $x eq "HASH" |
|
147
|
529 |
3434 |
if ref $x eq "ARRAY" |
|
148
|
97 |
3337 |
if _is_bool($x) |
|
149
|
1156 |
2181 |
if _created_as_number($x) |
|
150
|
2181 |
0 |
if _created_as_string($x) |
|
157
|
459 |
0 |
if @_ == 1 |
|
159
|
103 |
110 |
if (ref $x and builtin::reftype($x) and builtin::reftype($x) eq "SCALAR") |
|
160
|
1 |
102 |
if $x eq 0 or $x eq 1 |
|
162
|
0 |
458 |
if (builtin::blessed($x) and $x->isa("Types::Serialiser::Boolean")) |
|
163
|
0 |
0 |
$x ? : |
|
165
|
0 |
458 |
if (builtin::blessed($x) and $x->isa("JSON::PP::Boolean")) |
|
166
|
0 |
0 |
$x ? : |
|
174
|
1296 |
0 |
if @_ == 1 |
|
176
|
0 |
1296 |
if (builtin::blessed($x) and $x->isa("CBOR::Free::Tagged")) |
|
180
|
0 |
1296 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Document")) |
|
182
|
0 |
0 |
defined $de ? : |
|
184
|
0 |
1296 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Namespace")) |
|
187
|
4 |
1292 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Attr")) |
|
190
|
12 |
1280 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Element")) |
|
193
|
0 |
1280 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Text")) |
|
196
|
0 |
1280 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Comment")) |
|
200
|
1 |
10 |
if (ref $x and builtin::reftype($x) and builtin::reftype($x) eq "SCALAR") |
|
201
|
0 |
1 |
if $x eq 0 or $x eq 1 |
|
204
|
0 |
1280 |
if (builtin::blessed($x) and $x->isa("Types::Serialiser::Boolean")) |
|
205
|
0 |
0 |
$x ? : |
|
208
|
0 |
1280 |
if (builtin::blessed($x) and $x->isa("JSON::PP::Boolean")) |
|
209
|
0 |
0 |
$x ? : |
|
217
|
465 |
0 |
if @_ == 1 |
|
219
|
0 |
465 |
if (builtin::blessed($x) and $x->isa("CBOR::Free::Tagged")) |
|
223
|
0 |
465 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Document")) |
|
225
|
0 |
0 |
defined $de ? : |
|
227
|
1 |
464 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Namespace")) |
|
230
|
48 |
416 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Attr")) |
|
233
|
73 |
343 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Element")) |
|
236
|
10 |
333 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Text")) |
|
239
|
0 |
333 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Comment")) |
|
244
|
1 |
332 |
unless defined $v |
|
251
|
1 |
262 |
unless defined $v and &Scalar::Util::looks_like_number($v) |
|
253
|
10 |
252 |
if ($Data::ZPath::UseBigInt and $v =~ /\A-?[0-9]{19,}\z/) |
|
266
|
0 |
6790 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Document")) |
|
268
|
0 |
0 |
unless $de |
|
272
|
1975 |
4815 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Element")) |
|
273
|
1975 |
0 |
$Data::ZPath::XmlIgnoreWS ? : |
|
278
|
831 |
3984 |
if (ref $x eq "HASH") |
|
283
|
3 |
2 |
if (@_) |
|
285
|
2156 |
1084 |
unless ref $x->{$k} |
|
291
|
403 |
3581 |
if (ref $x eq "ARRAY") |
|
296
|
0 |
0 |
if (@_) |
|
298
|
863 |
409 |
unless ref $x->[$i] |
|
310
|
39 |
54 |
unless builtin::blessed($x) and $x->isa("XML::LibXML::Element") |
|
319
|
0 |
8534 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Attr")) |
|
320
|
2109 |
6425 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Element")) |
|
321
|
1062 |
5363 |
if (builtin::blessed($x) and $x->isa("XML::LibXML::Text")) |
|
342
|
2 |
3 |
unless builtin::blessed($zpath) |