Condition Coverage

blib/lib/Dancer.pm
Criterion Covered Total %
condition 15 36 41.6


and 3 conditions

line !l l&&!r l&&r condition
391 9 0 0 $options{'streaming'} and not $env->{'psgi.streaming'}
401 9 0 0 &Scalar::Util::blessed($path) and $path->isa("IO::Scalar")
414 6 0 2 $options{'system_path'} and -f $path

or 2 conditions

line l !l condition
204 6 5 $_[1] || 500
371 0 19 $status || 302
455 0 0 $options{'bytes'} || '43008'

or 3 conditions

line l !l&&r !l&&!r condition
327 0 0 196 $script_dirs[$#script_dirs - 1] eq "bin" or $script_dirs[$#script_dirs - 1] eq "public"
0 0 196 $script_dirs[$#script_dirs - 1] eq "bin" or $script_dirs[$#script_dirs - 1] eq "public" or $script_dirs[$#script_dirs - 1] eq "t"
333 68 128 0 $ENV{'DANCER_APPDIR'} || ($LAYOUT_PRE_DANCER_1_2 ? $script_path : 'File::Spec'->rel2abs(path($script_path, '..')))
345 0 128 0 $ENV{'DANCER_CONFDIR'} || $appdir
348 0 196 0 $ENV{'DANCER_PUBLIC'} || Dancer::FileUtils::path($appdir, 'public')
351 0 196 0 $ENV{'DANCER_VIEWS'} || Dancer::FileUtils::path($appdir, 'views')
408 1 0 0 'Dancer::SharedData'->response || 'Dancer::Response'->new