Branch Coverage

blib/lib/Dancer2/Core/Runner.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
86 1 0 unless ($self->config->{'no_server_tokens'})
97 2 163 if $ENV{'PLACK_ENV'}
110 2 163 defined $ENV{'DANCER_NO_SERVER_TOKENS'} ? :
1 164 defined $ENV{'DANCER_STARTUP_INFO'} ? :
118 1 164 if (my $traces = $self->config->{'traces'})
120 1 0 $traces ? :
126 148 17 unless defined $Dancer2::runner
158 2 0 if $self->config->{'apphandler'} eq "PSGI"
177 25 8 unless $apps
178 6 8 if (is_regexpref($app_req)) { }
4 4 elsif (ref $app_req eq 'Dancer2::Core::App') { }
4 0 elsif (not is_ref($app_req)) { }
196 8 25 @found_apps ? :
229 1 0 unless $self->config->{'startup_info'}
243 0 0 unless defined $version