blib/lib/Amazon/S3/Thin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 29 | 48.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
23 | 17 | 0 | 1 | $self->{'credential_provider'} and $self->{'credential_provider'} eq "env" |
17 | 0 | 0 | $self->{'credential_provider'} and $self->{'credential_provider'} eq "metadata" | |
54 | 3 | 13 | 0 | $self->{'signature_version'} == 4 and not $self->{'region'} |
172 | 0 | 4 | 0 | $res->code == 200 && (length $res->content == 0 || $res->content =~ / |
177 | 0 | 0 | 2 | $key and length $key |
line | l | !l | condition |
---|---|---|---|
156 | 2 | 2 | $headers ||= {} |
211 | 2 | 0 | $opt ||= {} |
332 | 10 | 7 | $headers ||= {} |
333 | 0 | 17 | $metadata ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
186 | 0 | 0 | 0 | $headers->{'Content-Length'} ||= -s $$content |
190 | 0 | 2 | 0 | $headers->{'Content-Length'} ||= length $content |