Branch Coverage

blib/lib/Paws/API/Caller.pm
Criterion Covered Total %
branch 44 54 81.4


line true false branch
25 14 596 if ($class->does('Paws::API::StrToObjMapParser')) { }
5 591 elsif ($class->does('Paws::API::StrToNativeMapParser')) { }
27 1 13 if (my($array_of) = $subtype =~ /^ArrayRef\[(.*?)\]$/) { }
38 0 797 unless defined $att_meta
41 4 793 if ($type eq 'Bool') { }
688 105 elsif ($type eq 'Str' or $type eq 'Num' or $type eq 'Int') { }
59 46 elsif ($type =~ /^ArrayRef\[(.*?)\]$/) { }
0 46 elsif ($type->isa('Moose::Meta::TypeConstraint::Enum')) { }
42 3 1 $params{$att} == 1 ? :
47 32 27 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 327 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 '') { }
118 1 356 if ($ret_class->can('_payload')) { }
124 6 351 if ($@)
142 155 225 if ($call_object->_result_key)
148 350 30 if ($returns) { }
149 2 348 if ($ret_class->can('_stream_param'))