Branch Coverage

blib/lib/AWS/Lambda/ResponseWriter.pm
Criterion Covered Total %
branch 7 18 38.8


line true false branch
20 0 1 if (@_ == 1 and ref $_[0] eq 'HASH') { }
43 0 1 $port == $DefaultPort{$scheme} ? :
71 0 1 if ($handle)
72 0 0 unless ($handle->can_reuse($scheme, $host, $port, $peer))
85 0 1 unless ($self->{'closed'})
107 0 2 if ($self->{'closed'})
112 0 2 if (not defined $data or length $data == 0)
125 0 1 if ($self->{'closed'})
136 0 0 if ($self->{'closed'})