Branch Coverage

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


line true false branch
67 0 0 unless $endpoint
93 1 0 if ($args->{'marker'})
96 0 1 if ($args->{'limit'})
99 0 1 if ($args->{'prefix'})
102 0 1 if ($args->{'end_marker'})
115 0 1 unless $res->is_success
139 0 0 unless $res->is_success
166 0 0 unless $res->is_success
189 0 0 if ($args->{'full_listing'})
203 0 0 if (scalar @{$rv_c;})
209 0 0 if ($args->{'delimiter'}) { }
213 0 0 if (exists $full_containers[scalar(@full_containers) - 1]{'name'}) { }
231 0 0 if (scalar @{$rv_c2;}) { }
243 0 0 if ($args->{'marker'})
246 0 0 if ($args->{'limit'})
249 0 0 if ($args->{'prefix'})
252 0 0 if ($args->{'delimiter'})
255 0 0 if ($args->{'end_marker'})
268 0 0 unless $res->is_success
294 0 0 unless $res->is_success
327 0 2 unless $res->is_success
346 0 0 unless (exists $args->{'headers'}{'Content-Length'} or exists $args->{'headers'}{'content-length'})
359 0 0 unless $res->is_success
389 0 0 unless $res->is_success
424 0 0 if (exists $args->{'write_code'})
427 0 0 if (exists $args->{'write_file'})
432 0 0 unless $res->is_success
464 0 0 unless $res->is_success
492 0 0 if ($args->{'etag'})
499 0 0 if ($args->{'query_string'})
509 0 0 unless $res->is_success
543 0 0 unless $res->is_success
573 0 0 unless $res->is_success