Branch Coverage

blib/lib/Net/OpenStack/Swift.pm
Criterion Covered Total %
branch 6 66 9.0


line true false branch
68 0 0 unless $endpoint
94 1 0 if ($args->{'marker'})
97 0 1 if ($args->{'limit'})
100 0 1 if ($args->{'prefix'})
103 0 1 if ($args->{'end_marker'})
116 0 1 unless $res->is_success
140 0 0 unless $res->is_success
167 0 0 unless $res->is_success
190 0 0 if ($args->{'full_listing'})
204 0 0 if (scalar @{$rv_c;})
210 0 0 if ($args->{'delimiter'}) { }
214 0 0 if (exists $full_containers[scalar(@full_containers) - 1]{'name'}) { }
232 0 0 if (scalar @{$rv_c2;}) { }
244 0 0 if ($args->{'marker'})
247 0 0 if ($args->{'limit'})
250 0 0 if ($args->{'prefix'})
253 0 0 if ($args->{'delimiter'})
256 0 0 if ($args->{'end_marker'})
269 0 0 unless $res->is_success
295 0 0 unless $res->is_success
328 0 2 unless $res->is_success
347 0 0 unless (exists $args->{'headers'}{'Content-Length'} or exists $args->{'headers'}{'content-length'})
360 0 0 unless $res->is_success
390 0 0 unless $res->is_success
425 0 0 if (exists $args->{'write_code'})
428 0 0 if (exists $args->{'write_file'})
433 0 0 unless $res->is_success
465 0 0 unless $res->is_success
494 0 0 if ($args->{'etag'})
502 0 0 if ($args->{'query_string'})
512 0 0 unless $res->is_success
546 0 0 unless $res->is_success
576 0 0 unless $res->is_success