Branch Coverage

inc/Test/HTTP/Server.pm
Criterion Covered Total %
branch 1 42 2.3


line true false branch
12 0 0 if $frompid < 1024
22 0 0 if $socket
31 0 0 unless my($port, $socket) = _open_socket()
35 0 0 unless defined $pid
37 0 0 if ($pid) { }
69 0 0 unless $cnt
72 0 0 unless $cnt
91 0 0 unless my $client = $socket->accept
94 0 0 unless defined $pid
95 0 0 if ($pid) { }
111 0 11 if ($@)
167 0 0 if ($$self{'request'}[0] =~ /^(?:POST|PUT)/) { }
192 0 0 unless length $_
209 0 0 unless defined $len
227 0 0 if (ref $value) { }
264 0 0 unless length $func
270 0 0 if ($@) { }
0 0 elsif (defined $body) { }
304 0 0 if (not $type or $type eq 'head')
307 0 0 if (!$type || $type eq 'body' and defined $$self{'body'})
322 0 0 if $time =~ /^[+-]/