Branch Coverage

blib/lib/Nile.pm
Criterion Covered Total %
branch 3 56 5.3


line true false branch
775 5 0 ref $modules[0] eq 'ARRAY' ? :
786 0 0 if *{"$caller$sub";}{'CODE'}
803 0 1 if (-d (my $fulldir = 'File::Spec'->catdir($dirs, $name)))
808 0 1 $vol ? :
923 0 0 if ($ENV{'PLACK_ENV'})
930 0 0 if ($self->mode ne 'psgi')
931 0 0 if (exists $ENV{'GATEWAY_INTERFACE'}) { }
943 0 0 if ($self->mode eq 'psgi') { }
0 0 elsif ($self->mode eq 'fcgi') { }
967 0 0 if $config
973 0 0 if $route
977 0 0 if ($self->config->get("app/$config"))
1088 0 0 if ($self->prefix)
1111 0 0 if (@_ == 1) { }
0 0 elsif (@_ == 2) { }
0 0 elsif (@_ == 3) { }
1130 0 0 if (ref $action ne 'CODE')
1250 0 0 if (@args and @args % 2) { }
1266 0 0 if ($object->can('main'))
1268 0 0 if ($ret{'rebless'})
1280 0 0 unless ($object->can('app'))
1317 0 0 unless $file =~ /\.pm$/
1339 0 0 if (not exists $self->loaded_modules->{$module})
1356 0 0 if (not $self->is_loaded($module))
1377 0 0 if (exists $ENV{'REQUEST_METHOD'} or defined $ENV{'GATEWAY_INTERFACE'} or exists $ENV{'HTTP_HOST'})
1382 0 0 if (exists $self->env->{'REQUEST_METHOD'} or defined $self->env->{'GATEWAY_INTERFACE'} or exists $self->env->{'HTTP_HOST'})
1433 0 0 unless $self->cli_mode
1451 0 0 unless $self->cli_mode