Branch Coverage

blib/lib/HTTP/MultiGet.pm
Criterion Covered Total %
branch 23 64 35.9


line true false branch
328 2 0 unless exists $self->retry->{$id}
361 0 20 if $self->{'que_count'} >= $self->max_que_count
418 0 0 if (exists $self->results->{$id}) { }
0 0 elsif (exists $self->running->{$id}) { }
0 0 elsif ($self->stack->has_id($id)) { }
445 0 0 if $total > 0
464 0 0 if $total > 0
495 2 4 if (exists $self->results->{$id}) { }
0 4 elsif (exists $self->running->{$id}) { }
0 4 elsif ($self->stack->has_id($id)) { }
520 4 0 unless exists $self->results->{$id}
529 2 4 if $ok != 0
554 0 2 if (XXX) { }
559 0 0 if ($key eq 'on_body') { }
577 2 2 unless exists $opt->{'params'}{$key}
602 0 2 if $self->{'que_count'} > 0
604 0 2 if (exists $self->retry->{$id} and $response->code > 594 and $self->retry->{$id}-- > 0)
613 0 2 if (exists $self->running->{$id}) { }
623 0 2 if ($self->in_control_loop)
624 0 0 if ($self->que_count == 0)
625 0 0 if $self->loop_control
630 2 0 if ($self->{'que_count'} == 0) { }
632 0 2 if ($loop_id != $self->loop_id)
636 0 2 if $self->loop_control
657 6 0 if $stack->total == 0 and $count == 0
673 0 0 if $self->{'que_count'} <= 0
706 0 0 if ($init_result) { }
709 0 0 if ($result) { }
749 2 4 if ($result) { }
753 2 0 if ($result) { }
783 0 0 if (exists $self->results->{$id}) { }
787 0 0 if ($result) { }