Condition Coverage

lib/Amazon/S3/Bucket.pm
Criterion Covered Total %
condition 0 138 0.0


and 3 conditions

line !l l&&!r l&&r condition
61 0 0 0 not $self->region and $self->verify_region
109 0 0 0 $key and length $key
227 0 0 0 $parameters->{'callback'} and builtin::reftype($parameters->{'callback'}) ne "CODE"
259 0 0 0 $parameters->{'chunk_size'} && $parameters->{'chunk_size'}
317 0 0 0 $Amazon::S3::Bucket::EVAL_ERROR and $parameters->{'abort_on_error'}
654 0 0 0 $uri_params and keys %{$uri_params;}
696 0 0 0 $method eq "GET" and $response->code ne $Amazon::S3::Bucket::HTTP_PARTIAL_CONTENT
700 0 0 0 $filename && -f $filename
815 0 0 0 not $key and length $key
845 0 0 0 ref $key and builtin::reftype($key) eq "HASH"
862 0 0 0 @object and defined $object[0]
902 0 0 0 ref $args[0] and builtin::reftype($args[0]) eq "HASH"
1079 0 0 0 $conf->{'acl_xml'} and $conf->{'acl_short'}
1175 0 0 0 -r $filename and $remaining
1199 0 0 0 $Amazon::S3::Bucket::OS_ERROR and $remaining

or 2 conditions

line l !l condition
65 0 0 $self->get_location_constraint // "us-east-1"
112 0 0 $conf //= {}
117 0 0 $headers //= {}
286 0 0 $parameters->{'headers'} || {}
650 0 0 $method //= "GET"
686 0 0 $response->content_length || 0
760 0 0 $headers_in //= {}
790 0 0 $request_headers{'x-amz-tagging-directive'} //= "COPY"
936 0 0 $headers //= {}
966 0 0 $conf ||= {}
983 0 0 $conf ||= {}
995 0 0 $conf //= {}
1007 0 0 $conf //= {}
1021 0 0 $headers // {}
1073 0 0 $conf //= {}

or 3 conditions

line l !l&&r !l&&!r condition
46 0 0 0 $options->{'buffer_size'} ||= $Amazon::S3::Bucket::DEFAULT_BUFFER_SIZE
68 0 0 0 $region // $Amazon::S3::Bucket::EMPTY
223 0 0 0 $parameters->{'data'} or $parameters->{'callback'}
0 0 0 $parameters->{'data'} or $parameters->{'callback'} or $parameters->{'fh'}
229 0 0 0 $parameters->{'abort_on_error'} //= $Amazon::S3::Bucket::TRUE
230 0 0 0 $parameters->{'chunk_size'} //= $Amazon::S3::Bucket::MIN_MULTIPART_UPLOAD_CHUNK_SIZE
232 0 0 0 $parameters->{'callback'} or $parameters->{'fh'}
390 0 0 0 $length || length $data
686 0 0 0 $response->content // $Amazon::S3::Bucket::EMPTY
0 0 0 $response->header('Content-Range') || $Amazon::S3::Bucket::EMPTY
0 0 0 $response->header('Last-Modified') || $Amazon::S3::Bucket::EMPTY
771 0 0 0 not ref $headers_in or builtin::reftype($headers_in) ne "HASH"
776 0 0 0 $source or exists $request_headers{'x-amz-copy-source'}
782 0 0 0 $bucket //= $self->bucket
1076 0 0 0 $conf->{'acl_xml'} or $conf->{'acl_short'}
1086 0 0 0 $headers->{'x-amz-acl'} //= $conf->{'acl_short'}
1089 0 0 0 $conf->{'acl_xml'} // $Amazon::S3::Bucket::EMPTY
1114 0 0 0 $bucket //= $self->bucket
1116 0 0 0 $region // $self->region
1173 0 0 0 $stat->blksize || $buffer_size
1206 0 0 0 $buffer ||= $Amazon::S3::Bucket::EMPTY