Branch Coverage

blib/lib/Paws/Net/RestJsonCaller.pm
Criterion Covered Total %
branch 24 38 63.1


line true false branch
15 0 23 if $attribute->does('ParamInHeader') or $attribute->does('ParamInQuery') or $attribute->does('ParamInURI') or $attribute->does('ParamInBody')
21 0 23 $attribute->does('Paws::API::Attribute::Trait::NameInRequest') ? :
22 11 12 if (defined $params->$att)
24 0 11 if ($att_type eq 'Bool') { }
0 11 elsif ($att_type eq 'Int') { }
7 4 elsif ($att_type eq 'Str') { }
0 4 elsif ($self->_is_internal_type($att_type)) { }
2 2 elsif ($att_type =~ /^ArrayRef\[(.*)\]/) { }
0 2 elsif ($att_type->isa('Moose::Meta::TypeConstraint::Enum')) { }
0 2 elsif ($params->$att->does('Paws::API::StrToNativeMapParser')) { }
0 2 elsif ($params->$att->does('Paws::API::StrToObjMapParser')) { }
25 0 0 $params->$att ? :
34 2 0 if ($self->_is_internal_type("$1")) { }
45 0 0 if (my($inner) = "$type" =~ /^HashRef\[ArrayRef\[(.*?)\]/) { }
67 1 25 if ($attribute->does('Paws::API::Attribute::Trait::ParamInURI'))
79 3 23 if ($attribute->does('Paws::API::Attribute::Trait::ParamInHeader') and $attribute->has_value($call))
95 3 23 if ($attribute->does('Paws::API::Attribute::Trait::ParamInQuery'))
96 3 0 if defined $call->$att_name
107 2 2 if ($call->can('_stream_param')) { }