Branch Coverage

blib/lib/Net/HTTP/Spore/Meta/Method.pm
Criterion Covered Total %
branch 24 28 85.7


line true false branch
112 0 27 defined $method_args{'spore_payload'} ? :
114 1 26 if ($payload and not $method->method =~ /^(?:POST|PUT|PATCH)$/i)
122 2 24 if ($method->payload_is_required and not $payload)
132 2 22 if ($method->has_required_params)
134 0 2 unless (grep {$required eq $_;} keys %method_args)
152 19 5 $method->has_authentication ? :
155 0 24 $method->has_formats ? :
157 0 24 $method->has_base_url ? :
162 6 18 $base_url->path eq '/' ? :
185 1 23 if $method->has_form_data
188 1 23 if $method->has_headers
195 3 21 $method->has_expected_status ? :
196 4 20 unless $ok
202 21 109 if ($args{'form-data'})