Branch Coverage

blib/lib/Net/Amazon/Signature/V4.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
92 30 63 $req->uri =~ /([^?]*)\?(.*)$/ ? :
101 0 93 unless ($req->header('host'))
105 31 62 unless ($creq_payload_hash)
114 31 62 unless ($amz_date)
182 36 42 if ($part eq '' or $part eq '.') { }
9 33 elsif ($part eq '..') { }
190 3 90 if $orig_uri =~ m[/$] and not $simple_uri =~ m[/$]
194 63 30 unless $_[0]
200 36 6 defined $value ? :
204 0 6 unless $Net::Amazon::Signature::V4::a->[0] cmp $Net::Amazon::Signature::V4::b->[0]
212 93 31 if ($date =~ /^\d{8}T\d{6}Z$/) { }
225 0 124 unless ($date)