Branch Coverage

blib/lib/Paws/Net/RestXMLResponse.pm
Criterion Covered Total %
branch 53 110 48.1


line true false branch
11 0 66 if not defined $data or $data eq ''
24 9 68 if ($http_status >= 300) { }
35 0 9 if ($@)
66 0 0 if ($value_ref eq 'HASH')
67 0 0 if (exists $value->{'member'}) { }
0 0 elsif (exists $value->{'entry'}) { }
0 0 elsif (keys %$value == 1) { }
83 0 0 if ($value_ref eq 'ARRAY') { }
0 0 elsif ($value_ref eq 'HASH') { }
0 0 elsif (not defined $value) { }
98 0 0 if ($value_ref eq 'HASH')
99 0 0 if (exists $value->{'member'}) { }
0 0 elsif (exists $value->{'entry'}) { }
0 0 elsif (keys %$value == 1) { }
111 0 0 if ($value_ref eq 'ARRAY') { }
0 0 elsif ($value_ref eq 'HASH') { }
122 0 4054 if ($class->does('Paws::API::StrToObjMapParser')) { }
0 4054 elsif ($class->does('Paws::API::StrToNativeMapParser')) { }
128 0 17153 unless my $meta = $class->meta->get_attribute($att)
130 118 17022 $meta->does('ParamInHeader') ? :
13 17140 $meta->does('NameInRequest') ? :
144 2 17151 if ($meta->does('Paws::API::Attribute::Trait::ParamInHeaders')) { }
17057 94 elsif (not $att_type =~ /\[.*\]$/) { }
94 0 elsif (my($type) = $att_type =~ /^ArrayRef\[(.*)\]$/) { }
156 1828 15229 if ($att_type =~ /\:\:/) { }
159 926 902 if (defined $value) { }
160 0 926 if (not $value_ref) { }
165 0 926 if ($att_class->does('Paws::API::StrToObjMapParser')) { }
0 926 elsif ($att_class->does('Paws::API::StrToNativeMapParser')) { }
0 926 elsif ($att_class->does('Paws::API::MapParser')) { }
174 0 0 if ($value_ref eq 'HASH')
175 0 0 if (exists $value->{'member'}) { }
0 0 elsif (exists $value->{'entry'}) { }
0 0 elsif (keys %$value == 1) { }
204 1 901 unless (eval { do { $args{$att} = $self->new_from_result_struct($att_class, $result); 1 } })
207 12004 3225 if (defined $value)
208 53 11951 if ($att_type eq 'Bool') { }
209 28 25 if ($value eq 'true') { }
25 0 elsif ($value eq 'false') { }
0 0 elsif ($value == 1) { }
225 7 87 if not defined $value and $key ne $att
228 8 86 if ($value_ref eq 'HASH')
229 0 8 if (exists $value->{'member'}) { }
0 8 elsif (exists $value->{'entry'}) { }
6 2 elsif (keys %$value == 1) { }
241 93 1 if ($type =~ /\:\:/) { }
245 44 49 if (not defined $value) { }
43 6 elsif ($value_ref eq 'ARRAY') { }
6 0 elsif ($value_ref eq 'HASH') { }
253 0 93 if ($type->does('Paws::API::StrToObjMapParser')) { }
0 93 elsif ($type->does('Paws::API::StrToNativeMapParser')) { }
0 93 elsif ($type->does('Paws::API::MapParser')) { }
263 1 0 if (defined $value) { }
264 1 0 if ($value_ref eq 'ARRAY') { }
270 0 0 if $att_is_required