Branch Coverage

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


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