Branch Coverage

blib/lib/Tatsumaki/Handler.pm
Criterion Covered Total %
branch 7 38 18.4


line true false branch
49 0 0 if ($_[0]) { }
50 0 0 unless $self->is_asynchronous
98 0 4 unless ($self->supported_method($method))
103 2 0 if ($_->isa('Tatsumaki::Error::HTTP')) { }
111 0 4 if ($self->is_asynchronous) { }
120 0 0 if (not $$res[2] and $w)
136 0 0 unless ($self->request->env->{'psgi.nonblocking'})
162 0 0 unless $self->writer
168 0 2 if (ref $_[0]) { }
0 2 elsif ($self->binary) { }
169 0 0 if ($self->mxhr) { }
189 0 0 if /Broken pipe/
208 0 2 if ($self->writer) { }
2 0 elsif (not $self->is_asynchronous or $is_final) { }
209 0 0 if @{$self->_write_buffer;}
220 0 0 unless $self->writer
227 0 0 if defined $chunk
229 0 0 if ($self->writer) { }
0 0 elsif ($self->condvar) { }