Branch Coverage

blib/lib/Paws/Net/RestJsonCaller.pm
Criterion Covered Total %
branch 27 38 71.0


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