blib/lib/Net/Amazon/S3/Client/Object.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 37 | 21.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
197 | 0 | 11 | 1 | $self->storage_class and $self->storage_class ne 'standard' |
454 | 0 | 0 | 0 | exists $metadata{'StorageClass'} && $metadata{'StorageClass'} eq 'GLACIER' |
455 | 0 | 0 | 0 | exists $metadata{'Restore'} && $metadata{'Restore'} =~ /ongoing-request="false"/ |
481 | 0 | 1 | 0 | -r $filename and -f _ || $remaining |
502 | 0 | 0 | 0 | $! and $remaining |
line | l | !l | condition |
---|---|---|---|
479 | 1 | 0 | $stat->blksize || 4096 |
509 | 0 | 0 | $buffer ||= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
104 | 0 | 1 | 0 | $self->etag || $response->etag |
147 | 0 | 0 | 0 | $self->etag || $response->etag |
226 | 0 | 1 | 0 | $self->etag || file_md5_hex($filename) |
229 | 1 | 0 | 0 | &Net::Amazon::S3::Client::Object::stat($filename) || confess("No ${filename}: $!") |
456 | 0 | 0 | 0 | !$glacier || $restored |
481 | 1 | 0 | 0 | -f _ || $remaining |