Condition Coverage

blib/lib/Mojolicious/Plugin/Directory/Stylish.pm
Criterion Covered Total %
condition 20 26 76.9


and 3 conditions

line !l l&&!r l&&r condition
44 12 0 1 $index and my $file = locate_index($index, $path)

or 2 conditions

line l !l condition
23 1 8 $args->{'auto_index'} // 1
25 1 8 $args->{'css'} || 'style'
26 0 9 $args->{'render_opts'} || {}
27 1 8 $args->{'dir_template'} || 'list'
59 1 0 shift() || (return)
126 17 97 $types->type(get_ext($file) || 'txt') || 'text/plain'
132 127 1 $stat[7] || 0

or 3 conditions

line l !l&&r !l&&!r condition
19 8 1 0 $args->{'root'} || Cwd::getcwd()
60 1 0 0 shift() || Cwd::getcwd()
109 11 11 128 $ent eq '.' or $ent eq '..'