line |
true |
false |
branch |
20
|
27 |
114 |
unless $opts |
41
|
129 |
53 |
if ($type eq 'HASH') { } |
|
53 |
0 |
elsif ($type eq 'ARRAY') { } |
42
|
24 |
105 |
unless (exists $$parent{$token}) |
50
|
1 |
52 |
if ($token eq '-') |
55
|
14 |
39 |
if $$opts{'inclusive'} |
57
|
41 |
12 |
if (is_array_numeric_index($token) and $token <= $max_index) { } |
76
|
30 |
3 |
unless defined $strict |
82
|
3 |
30 |
if (my $e = $@) |
86
|
28 |
2 |
$context->result ? : |
104
|
21 |
13 |
if ($type eq 'HASH') { } |
|
13 |
0 |
elsif ($type eq 'ARRAY') { } |
105
|
2 |
19 |
if (not $context->result and @{$context->processed_tokens;} < @{$context->tokens;} - 1) |
113
|
18 |
1 |
if (defined $context->last_token) { } |
124
|
3 |
10 |
unless ($context->result) |
131
|
10 |
0 |
if (defined $context->last_token) { } |
133
|
1 |
9 |
$context->last_token eq '-' ? : |
145
|
0 |
0 |
unless ($context->result) |
165
|
8 |
5 |
if ($type eq 'HASH') { } |
|
4 |
1 |
elsif ($type eq 'ARRAY') { } |
167
|
7 |
1 |
if (defined $target_member) { } |
169
|
7 |
0 |
wantarray ? : |
173
|
1 |
0 |
wantarray ? : |
178
|
3 |
1 |
if (defined $target_index) { } |
180
|
0 |
3 |
if $target_index eq '-' |
182
|
3 |
0 |
wantarray ? : |
186
|
1 |
0 |
wantarray ? : |
190
|
0 |
1 |
unless ($context->result) |
197
|
1 |
0 |
wantarray ? : |
209
|
4 |
8 |
if ($type eq 'HASH') { } |
211
|
3 |
1 |
if (defined $target_member) { } |
214
|
3 |
0 |
wantarray ? : |
218
|
1 |
0 |
wantarray ? : |
223
|
6 |
2 |
if (defined $target_index) { } |
225
|
0 |
6 |
if $target_index eq '-' |
228
|
6 |
0 |
wantarray ? : |
232
|
2 |
0 |
wantarray ? : |
258
|
1 |
22 |
unless $context->result |
263
|
4 |
18 |
if ($target_type eq 'HASH' or $target_type eq 'ARRAY') { } |
|
17 |
1 |
elsif (defined $target) { } |
264
|
3 |
1 |
encode_json $target eq encode_json $value ? : |
267
|
0 |
17 |
if (&JSON::is_bool($target)) { } |
|
12 |
5 |
elsif (_is_iv_or_nv($target) and _is_iv_or_nv($value)) { } |
|
4 |
1 |
elsif (_is_pv($target) and _is_pv($value)) { } |
268
|
0 |
0 |
&JSON::is_bool($value) && $target == $value ? : |
271
|
12 |
0 |
$target == $value ? : |
274
|
3 |
1 |
$target eq $value ? : |
282
|
1 |
0 |
!defined($value) ? : |
289
|
4 |
32 |
if ($strict) { } |