line |
true |
false |
branch |
35
|
0 |
1 |
unless ($response->is_success) |
36
|
0 |
0 |
if ($options{'die_on_failure'}) { } |
68
|
86 |
24 |
if (not $type) { } |
|
0 |
24 |
elsif ($type eq 'SCALAR') { } |
|
1 |
23 |
elsif ($type eq 'CODE') { } |
80
|
7 |
16 |
if ($subspec_type) { } |
|
2 |
14 |
elsif ($spec->{'type'} eq 'array') { } |
|
9 |
5 |
elsif ($spec->{'type'} eq 'map') { } |
|
5 |
0 |
elsif ($spec->{'type'} eq 'first') { } |
81
|
7 |
0 |
if ($subspec_type eq 'CODE') |
83
|
2 |
5 |
unless ($subspec_object) |
91
|
1 |
1 |
unless (defined $object->{$name}) |
97
|
3 |
6 |
unless (defined $object->{$name}) |
103
|
3 |
2 |
if (not defined $object->{$name}) |
116
|
0 |
54 |
if $self->{'skip'} > 0 |
118
|
54 |
0 |
if (defined $characters) |
126
|
0 |
46 |
if ($self->{'skip'} > 0) |
138
|
20 |
0 |
if (defined $spec->{$path} and scalar @{$self->{'buffer'};}) |
149
|
5 |
84 |
$ns_uri && $spec->{$ns_uri} ? : |
151
|
67 |
22 |
if ($spec->{$attr_path}) |
156
|
23 |
0 |
if (not $path and scalar @{$self->{'element_stack'};}) |
187
|
35 |
4 |
if defined $spec_prefix |
196
|
0 |
46 |
if ($self->{'skip'}) |
207
|
35 |
11 |
if ($uri) { } |
209
|
0 |
35 |
if (not defined $spec_prefix) { } |
|
27 |
8 |
elsif ($spec_prefix eq '') { } |
227
|
23 |
12 |
if (defined $spec->{$spec_path} and ref $spec->{$spec_path} eq 'HASH' and defined $spec->{$spec_path}{'spec'}) |