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}
603 0 2 if $self->{'que_count'} > 0
605 0 2 if (exists $self->retry->{$id} and $response->code > 594 and $self->retry->{$id}-- > 0)
614 0 2 if (exists $self->running->{$id}) { }
624 0 2 if ($self->in_control_loop)
625 0 0 if ($self->que_count == 0)
626 0 0 if $self->loop_control
632 2 0 if ($self->{'que_count'} == 0) { }
634 0 2 if ($loop_id != $self->loop_id)
639 0 2 if $self->loop_control
660 6 0 if $stack->total == 0 and $count == 0
676 0 0 if $self->{"que_count"} <= 0
710 0 0 if ($init_result) { }
713 0 0 if ($result) { }
753 2 4 if ($result) { }
757 2 0 if ($result) { }
787 0 0 if (exists $self->results->{$id}) { }
791 0 0 if ($result) { }