Branch Coverage

blib/lib/Nile.pm
Criterion Covered Total %
branch 3 54 5.5


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 ? :
922 0 0 if ($ENV{'PLACK_ENV'})
929 0 0 if ($self->mode ne 'psgi')
930 0 0 if (exists $ENV{'GATEWAY_INTERFACE'}) { }
942 0 0 if ($self->mode eq 'psgi') { }
0 0 elsif ($self->mode eq 'fcgi') { }
966 0 0 if $config
972 0 0 if $route
976 0 0 if ($self->config->get("app/$config"))
1090 0 0 if (@_ == 1) { }
0 0 elsif (@_ == 2) { }
0 0 elsif (@_ == 3) { }
1109 0 0 if (ref $action ne 'CODE')
1230 0 0 if (@args and @args % 2) { }
1248 0 0 if ($object->can('main'))
1250 0 0 if ($ret{'rebless'})
1268 0 0 unless ($object->can($_))
1307 0 0 unless $file =~ /\.pm$/
1329 0 0 if (not exists $self->loaded_modules->{$module})
1346 0 0 if (not $self->is_loaded($module))
1367 0 0 if (exists $ENV{'REQUEST_METHOD'} or defined $ENV{'GATEWAY_INTERFACE'} or exists $ENV{'HTTP_HOST'})
1372 0 0 if (exists $self->env->{'REQUEST_METHOD'} or defined $self->env->{'GATEWAY_INTERFACE'} or exists $self->env->{'HTTP_HOST'})
1423 0 0 unless $self->cli_mode
1441 0 0 unless $self->cli_mode