Branch Coverage

blib/lib/Amazon/S3/Thin/Resource.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
54 0 15 if ($region eq 'us-east-1')
71 1 0 if ($self->_is_dns_bucket($self->{'bucket'})) { }
85 0 1 if (length $bucketname > 63)
88 0 1 if (length $bucketname < 3)
91 0 1 unless $bucketname =~ /^[a-z0-9][a-z0-9.-]+$/
94 0 1 if $c =~ /^-/
95 0 1 if $c =~ /-$/
96 0 1 if $c eq ''
106 13 10 if ($self->{'key'}) { }
118 4 19 if ($self->{'query_string'}) { }
134 13 4 if $allow_slash