Branch Coverage

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


line true false branch
52 209 0 unless ($request->headers->header("Date"))
71 272 221 if ($lk eq "content-md5" or $lk eq "content-type" or $lk eq "date" or $lk =~ /^$AMAZON_HEADER_PREFIX/)
86 0 211 if $interesting_headers{"Net::Amazon::S3::Constants"->HEADER_DATE}
90 2 209 if $expires
94 63 633 if ($key =~ /^$AMAZON_HEADER_PREFIX/) { }
106 56 155 if ($path =~ /[&?](acl|torrent|location|uploads|delete)($|=|&)/) { }
12 143 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 211 if ($urlencode) { }