Branch Coverage

blib/lib/HTTP/Server/Simple/Er.pm
Criterion Covered Total %
branch 8 38 21.0


line true false branch
63 0 2 if @_ % 2
80 0 1 unless $self->port
96 1 0 if (my $cb = $self->listener_cb)
126 0 0 unless $ref
153 0 2 if ($^O eq 'MSWin32') { }
167 2 0 unless ($^O eq 'MSWin32')
173 0 2 unless $self->port
175 0 1 unless $child =~ /^-?\d+$/
188 0 1 if ($win_event) { }
209 0 0 unless my $h = $self->req_handler
240 0 0 $args[0] =~ /^RC_|^\d\d\d$/ ? :
242 0 0 if ((ref $args[0] || '') eq 'HASH')
244 0 0 if $code and $p{'status'}
247 0 0 if ((ref $args[-1] || '') eq 'HASH')
253 0 0 if ($code =~ /^RC_/)
254 0 0 unless my $sub = 'HTTP::Status'->can($code)
263 0 0 unless $h->content_type
315 0 0 if ($d{$k}) { }
316 0 0 unless ref $d{$k}