Branch Coverage

blib/lib/AnyEvent/HTTPD/SendMultiHeaderPatch.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
34 0 0 if (exists $hdrs->{$name}) { }
45 0 0 exists $hdrs->{$name} ? :
50 0 0 if $self->{'disconnected'}
51 0 0 unless $self->{'hdl'}
54 0 0 unless header_exists($hdr, 'Date')
56 0 0 unless header_exists($hdr, 'Expires')
58 0 0 unless header_exists($hdr, 'Cache-Control')
61 0 0 $self->{'keep_alive'} ? :
63 0 0 unless header_exists($hdr, 'Content-Length') or ref $content
67 0 0 unless (defined header_get($hdr, 'Content-Length'))
74 0 0 unless defined $v
82 0 0 if ($no_body)
88 0 0 if (ref $content eq 'CODE') { }
94 0 0 unless defined $self and defined $self->{'hdl'} and not $self->{'disconnected'}
98 0 0 if (defined $chunk and length $chunk > 0) { }
111 0 0 unless $self
113 0 0 if (length $res) { }
0 0 elsif (not $self->{'transport_polled'}) { }
120 0 0 if $self