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
47 12 0 1 $index and my $file = locate_index($index, $path)

or 2 conditions

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

or 3 conditions

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