Branch Coverage

blib/lib/Net/Amazon/S3/Signature/V2.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
52 202 0 unless ($request->headers->header('Date'))
71 265 212 if ($lk eq 'content-md5' or $lk eq 'content-type' or $lk eq 'date' or $lk =~ /^$AMAZON_HEADER_PREFIX/)
86 0 204 if $interesting_headers{'Net::Amazon::S3::Constants'->HEADER_DATE}
90 2 202 if $expires
94 63 612 if ($key =~ /^$AMAZON_HEADER_PREFIX/) { }
106 56 148 if ($path =~ /[&?](acl|torrent|location|uploads|delete)($|=|&)/) { }
12 136 elsif (my(%query_params) = 'URI'->new($path)->query_form) { }
110 0 12 if ($query_params{'partNumber'} and $query_params{'uploadId'}) { }
0 12 elsif ($query_params{'uploadId'}) { }
129 0 204 if ($urlencode) { }