Branch Coverage

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


line true false branch
25 14 591 if ($class->does('Paws::API::StrToObjMapParser')) { }
4 587 elsif ($class->does('Paws::API::StrToNativeMapParser')) { }
27 1 13 if (my($array_of) = $subtype =~ /^ArrayRef\[(.*?)\]$/) { }
38 0 785 unless defined $att_meta
41 4 781 if ($type eq 'Bool') { }
678 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 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'))