Condition Coverage

blib/lib/Net/Amazon/S3/Signature/V4Implementation.pm
Criterion Covered Total %
condition 13 19 68.4


and 3 conditions

line !l l&&!r l&&r condition
245 6 1 0 $orig_uri =~ m[/$] and not $simple_uri =~ m[/$]

or 2 conditions

line l !l condition
104 6 0 $method || 'GET'
149 1 6 $req->header($X_AMZ_CONTENT_SHA256) || 'UNSIGNED-PAYLOAD'

or 3 conditions

line l !l&&r !l&&!r condition
115 6 0 0 $expires_in || $MAX_EXPIRES
237 6 0 12 not length $part or $part eq '.'
291 3 18 1 $req->header($X_AMZ_DATE) || $req->uri->query_param($X_AMZ_DATE)
292 21 0 1 $x_date || $req->header('Date')