Condition Coverage

blib/lib/Nile.pm
Criterion Covered Total %
condition 1 33 3.0


and 3 conditions

line !l l&&!r l&&r condition
1250 0 0 0 @args and @args % 2

or 2 conditions

line l !l condition
904 0 0 $$arg{'log_file'} || 'log.pm'
0 0 $$arg{'action_name'} || 'action,route,cmd'
0 0 $$arg{'default_route'} || '/Home/Home/index'
916 0 0 $$arg{'mode'} ||= 'cgi'
1127 0 0 $method ||= ''
1128 0 0 $route ||= '/'

or 3 conditions

line l !l&&r !l&&!r condition
799 1 0 0 $script ||= (caller)[1]
894 0 0 0 $$arg{'path'} ||= $self->detect_app_path($script)
1377 0 0 0 exists $ENV{'REQUEST_METHOD'} or defined $ENV{'GATEWAY_INTERFACE'}
0 0 0 exists $ENV{'REQUEST_METHOD'} or defined $ENV{'GATEWAY_INTERFACE'} or exists $ENV{'HTTP_HOST'}
1382 0 0 0 exists $self->env->{'REQUEST_METHOD'} or defined $self->env->{'GATEWAY_INTERFACE'}
0 0 0 exists $self->env->{'REQUEST_METHOD'} or defined $self->env->{'GATEWAY_INTERFACE'} or exists $self->env->{'HTTP_HOST'}