line |
true |
false |
branch |
35
|
0 |
1 |
unless ($response->is_success) |
36
|
0 |
0 |
if ($options{'die_on_failure'}) { } |
68
|
32 |
12 |
if (not $type) { } |
|
0 |
12 |
elsif ($type eq 'SCALAR') { } |
|
1 |
11 |
elsif ($type eq 'CODE') { } |
79
|
2 |
9 |
if ($spec->{'type'} eq 'array') { } |
|
4 |
5 |
elsif ($spec->{'type'} eq 'map') { } |
|
5 |
0 |
elsif ($spec->{'type'} eq 'first') { } |
80
|
1 |
1 |
unless (defined $object->{$name}) |
86
|
2 |
2 |
unless (defined $object->{$name}) |
92
|
3 |
2 |
if (not defined $object->{$name}) |
105
|
0 |
29 |
if $self->{'skip'} > 0 |
107
|
29 |
0 |
if (defined $characters) |
115
|
0 |
23 |
if ($self->{'skip'} > 0) |
127
|
16 |
0 |
if (defined $spec->{$path} and scalar @{$self->{'buffer'};}) |
138
|
5 |
22 |
$ns_uri && $spec->{$ns_uri} ? : |
140
|
17 |
10 |
if ($spec->{$attr_path}) |
145
|
11 |
0 |
if (not $path and scalar @{$self->{'element_stack'};}) |
176
|
19 |
4 |
if defined $spec_prefix |
185
|
0 |
23 |
if ($self->{'skip'}) |
196
|
19 |
4 |
if ($uri) { } |
198
|
0 |
19 |
if (not defined $spec_prefix) { } |
|
11 |
8 |
elsif ($spec_prefix eq '') { } |
216
|
11 |
8 |
if (defined $spec->{$spec_path} and ref $spec->{$spec_path} eq 'HASH' and defined $spec->{$spec_path}{'spec'}) |