Branch Coverage

lib/Test/Fake/HTTPD.pm
Criterion Covered Total %
branch 2 26 7.6


line true false branch
61 0 0 $self->_is_win32 ? :
0 0 if $d = $self->_daemon_class->new('LocalAddr', '127.0.0.1', 'LocalPort', $port, 'Timeout', $$self{'timeout'}, 'Proto', 'tcp', 'Listen', $$self{'listen'}, $self->_is_win32 ? () : ('ReuseAddr', 1))
72 0 0 unless $d
85 0 1 $$self{'port'} ? :
99 4 0 $$self{'server'} ? :
117 0 0 unless ref $res eq 'ARRAY'
118 0 0 unless @$res == 3
119 0 0 unless $$res[0] and $$res[0] =~ /^\d{3}$/
120 0 0 unless ref $$res[1] eq 'ARRAY' or ref $$res[1] eq 'HASH'
128 0 0 if (blessed $res and $res->isa('HTTP::Response')) { }
0 0 elsif (blessed $res and $res->isa('Plack::Response')) { }
0 0 elsif ($self->_is_psgi_res($res)) { }
138 0 0 unless $http_res