| blib/lib/Amazon/S3/Thin.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 18 | 32 | 56.2 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 23 | 17 | 1 | 1 | $self->{'credential_provider'} and $self->{'credential_provider'} eq "env" | 
| 17 | 1 | 0 | $self->{'credential_provider'} and $self->{'credential_provider'} eq "metadata" | |
| 17 | 0 | 1 | $self->{'credential_provider'} and $self->{'credential_provider'} eq "ecs_container" | |
| 57 | 3 | 14 | 0 | $self->{'signature_version'} == 4 and not $self->{'region'} | 
| 175 | 0 | 4 | 0 |  $res->code == 200 && (length $res->content == 0 || $res->content =~ / | 
| 180 | 0 | 0 | 2 | $key and length $key | 
| line | l | !l | condition | 
|---|---|---|---|
| 159 | 2 | 2 | $headers ||= {} | 
| 214 | 2 | 0 | $opt ||= {} | 
| 335 | 10 | 7 | $headers ||= {} | 
| 336 | 0 | 17 | $metadata ||= {} | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 189 | 0 | 0 | 0 | $headers->{'Content-Length'} ||= -s $$content | 
| 193 | 0 | 2 | 0 | $headers->{'Content-Length'} ||= length $content |