Branch Coverage

blib/lib/Paws/API/Caller.pm
Criterion Covered Total %
branch 42 52 80.7


line true false branch
25 14 583 if ($class->does('Paws::API::StrToObjMapParser')) { }
4 579 elsif ($class->does('Paws::API::StrToNativeMapParser')) { }
27 1 13 if (my($array_of) = $subtype =~ /^ArrayRef\[(.*?)\]$/) { }
38 0 769 unless defined $att_meta
41 4 765 if ($type eq 'Bool') { }
662 103 elsif ($type eq 'Str' or $type eq 'Num' or $type eq 'Int') { }
58 45 elsif ($type =~ /^ArrayRef\[(.*?)\]$/) { }
0 45 elsif ($type->isa('Moose::Meta::TypeConstraint::Enum')) { }
42 3 1 $params{$att} == 1 ? :
47 32 26 if ($subtype eq 'Str' or $subtype eq 'Str|Undef' or $subtype eq 'Num' or $subtype eq 'Int' or $subtype eq 'Bool') { }
71 0 98 if ($params->does('Paws::API::StrToNativeMapParser')) { }
0 98 elsif ($params->does('Paws::API::StrToObjMapParser')) { }
79 162 321 if (defined $params->$att)
81 0 162 if ($att_type eq 'Bool') { }
157 5 elsif ($self->_is_internal_type($att_type)) { }
5 0 elsif ($att_type =~ /^ArrayRef\[(.*)\]/) { }
0 0 elsif ($att_type->isa('Moose::Meta::TypeConstraint::Enum')) { }
82 0 0 $params->$att ? :
86 1 4 if ($self->_is_internal_type("$1")) { }
107 353 33 $returns ? :
112 2 384 if ($ret_class->can('_stream_param')) { }
115 27 357 if (not defined $content or $content eq '') { }
119 7 350 if ($@)
137 155 224 if ($call_object->_result_key)
143 349 30 if ($returns) { }
144 2 347 if ($ret_class->can('_stream_param'))