Branch Coverage

blib/lib/Plack/Runner.pm
Criterion Covered Total %
branch 18 66 27.2


line true false branch
33 0 24 /^(-[IMe])(.+)/ ? :
66 4 1 if ($arg =~ s/^--?//) { }
69 2 2 if (@v == 2) { }
2 0 elsif ($v[0] =~ s/^(disable|enable)_//) { }
82 1 7 if $self->{'daemonize'}
97 3 2 if ($listen =~ /:\d+$/) { }
99 2 1 if $host eq ""
105 4 4 unless (@listen)
106 1 3 if ($socket) { }
110 1 2 $host ? :
122 0 0 unless $self->{'version_cb'}
128 0 0 if ($self->{'help'})
133 0 0 if ($self->{'version'})
138 0 0 if (@{$self->{'includes'};})
143 0 0 if ($self->{'eval'})
149 0 0 unless eval "require $module"
159 0 0 if (ref $psgi eq "CODE")
163 0 0 if ($self->{'eval'})
164 0 0 if -e "lib"
169 0 0 if $psgi
171 0 0 unless eval $eval
179 0 0 if -e $lib
188 0 0 if $self->{'loader'} eq "Restarter"
201 0 0 if ($self->{'default_middleware'})
204 0 0 unless ($ENV{'GATEWAY_INTERFACE'} or $self->{'access_log'})
228 0 0 if ($self->{'server'}) { }
238 0 0 unless (ref $self)
244 0 0 unless ($self->{'options'})
248 0 0 @_ ? :
254 0 0 if ($self->{'path'})
264 0 0 if ($ENV{'PLACK_ENV'} eq "development")
268 0 0 if ($self->{'access_log'})
270 0 0 unless open my $logfh, ">>", $self->{'access_log'}