Condition Coverage

blib/lib/Net/Amazon/S3/Client/Object.pm
Criterion Covered Total %
condition 7 31 22.5


and 3 conditions

line !l l&&!r l&&r condition
195 0 11 1 $self->storage_class and $self->storage_class ne "standard"
449 0 0 0 exists $metadata{'StorageClass'} && $metadata{'StorageClass'} eq 'GLACIER'
450 0 0 0 exists $metadata{'Restore'} && $metadata{'Restore'} =~ /ongoing-request="false"/
476 0 1 0 -r $filename and -f _ || $remaining
497 0 0 0 $! and $remaining

or 2 conditions

line l !l condition
474 1 0 $stat->blksize || 4096
504 0 0 $buffer ||= ""

or 3 conditions

line l !l&&r !l&&!r condition
224 0 1 0 $self->etag || file_md5_hex($filename)
227 1 0 0 &Net::Amazon::S3::Client::Object::stat($filename) || confess("No ${filename}: $!")
451 0 0 0 !$glacier || $restored
476 1 0 0 -f _ || $remaining