Branch Coverage

blib/lib/Amazon/S3/Thin/Signer/V2.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
20 0 16 if (ref $credentials ne "Amazon::S3::Thin::Credentials")
33 1 2 unless $request->header("Date")
34 1 2 if (defined $self->{'credentials'}->session_token)
65 35 20 if ($lk eq "content-md5" or $lk eq "content-type" or $lk eq "date" or $lk =~ /^$AMAZON_HEADER_PREFIX/)
80 2 22 if exists $interesting_headers{'x-amz-date'}
84 0 24 if $expires
88 9 72 if ($key =~ /^$AMAZON_HEADER_PREFIX/) { }
98 16 8 unless ($2)
108 12 16 if (exists $interesting_subresources{$1})
114 12 116 if ($interesting_subresources{$name})