Condition Coverage

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


and 3 conditions

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

or 2 conditions

line l !l condition
203 6 5 $_[1] || 500
370 0 19 $status || 302
454 0 0 $options{'bytes'} || '43008'

or 3 conditions

line l !l&&r !l&&!r condition
326 0 0 194 $script_dirs[$#script_dirs - 1] eq "bin" or $script_dirs[$#script_dirs - 1] eq "public"
0 0 194 $script_dirs[$#script_dirs - 1] eq "bin" or $script_dirs[$#script_dirs - 1] eq "public" or $script_dirs[$#script_dirs - 1] eq "t"
332 67 127 0 $ENV{'DANCER_APPDIR'} || ($LAYOUT_PRE_DANCER_1_2 ? $script_path : 'File::Spec'->rel2abs(path($script_path, '..')))
344 0 127 0 $ENV{'DANCER_CONFDIR'} || $appdir
347 0 194 0 $ENV{'DANCER_PUBLIC'} || Dancer::FileUtils::path($appdir, 'public')
350 0 194 0 $ENV{'DANCER_VIEWS'} || Dancer::FileUtils::path($appdir, 'views')
407 1 0 0 'Dancer::SharedData'->response || 'Dancer::Response'->new