Branch Coverage

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


line true false branch
194 1 1 if exists $self->{'cb'}
197 0 2 XXX ? :
198 0 2 unless (exists $self->pending->{$request})
221 0 309 unless defined $content
222 301 8 if ($response->code > $self->code_parse_start and $response->code < $self->code_parse_end) { }
223 301 0 if (length $content != 0 and $content =~ /^\s*[\[\{\"]/su) { }
225 0 301 if ($@) { }
246 0 2 unless defined $cb
248 0 2 XXX ? :
272 1 3 unless $cb
273 0 4 unless defined $result
327 0 6 wantarray ? :
396 0 0 unless $self->is_blocking
473 0 5 if $method eq 'DESTROY'
477 0 5 unless ($self->can($que_method))
493 18 4 if $sub
496 3 1 unless $self->SUPER::can($que_method)