Branch Coverage

blib/lib/HTTP/MultiGet/Role.pm
Criterion Covered Total %
branch 21 34 61.7


line true false branch
195 1 1 if exists $self->{'cb'}
198 0 2 XXX ? :
199 0 2 unless (exists $self->pending->{$request})
222 0 309 unless defined $content
223 301 8 if ($response->code > $self->code_parse_start and $response->code < $self->code_parse_end) { }
224 301 0 if (length $content != 0 and $content =~ /^\s*[\[\{\"]/su) { }
226 0 301 if ($@) { }
247 0 2 unless defined $cb
249 0 2 XXX ? :
273 1 3 unless $cb
274 0 4 unless defined $result
328 0 6 wantarray ? :
397 0 0 unless $self->is_blocking
475 0 5 if $method eq "DESTROY"
479 0 5 unless ($self->can($que_method))
495 18 4 if $sub
498 3 1 unless $self->SUPER::can($que_method)