Branch Coverage

blib/lib/Test/Async/HTTP.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
71 1 8 $args{'on_body_write'} ? :
79 1 8 if (my $timeout = delete $args{'timeout'})
89 0 9 if keys %args
106 1 9 unless my $pending = shift @{$$self{'next'};}
108 3 6 if (defined $pending->content)
158 4 2 if (not ref $content) { }
1 1 elsif (ref $content eq 'CODE') { }
1 0 elsif ($content->blessed and $content->isa('Future')) { }
160 1 3 if $self->on_write
191 1 6 if ($self->on_header) { }