Condition Coverage

blib/lib/Dir/ls.pm
Criterion Covered Total %
condition 39 67 58.2


and 3 conditions

line !l l&&!r l&&r condition
27 2 0 17 defined $dir and length $dir
47 8 8 96 $_ ne '.' && $_ ne '..'
21 1 76 !/^\./ && (defined $hide_pattern ? !/$hide_pattern/ : 1)
17 1 227 $show_all ? 1 : ($show_almost_all ? $_ ne '.' && $_ ne '..' : !/^\./ && (defined $hide_pattern ? !/$hide_pattern/ : 1)) and $skip_backup ? !/~\z/ : 1
131 0 0 0 $indicators eq 'F' and $mode & 64
149 0 0 47 defined $entry and length $entry

or 2 conditions

line l !l condition
53 3 16 $options{'sort'} || ''
112 0 19 $options{'indicator-style'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
40 2 0 15 $options{'a'} || $options{'all'} || $options{'f'}
41 2 6 11 $options{'A'} || $options{'almost-all'}
42 0 1 18 $options{'B'} || $options{'ignore-backups'}
54 0 0 19 $options{'U'} or $options{'f'}
0 0 19 $options{'U'} or $options{'f'} or $sort eq 'none'
0 1 18 $options{'v'} or $sort eq 'version'
0 1 17 $options{'S'} or $sort eq 'size'
0 1 16 $options{'X'} or $sort eq 'extension'
0 0 16 $options{'t'} or $sort eq 'time'
103 0 3 16 $options{'r'} or $options{'reverse'}
113 1 0 18 $options{'p'} or $indicators eq 'slash'
0 0 18 $options{'file-type'} or $indicators eq 'file-type'
0 0 18 $options{'F'} or $options{'classify'}
0 0 18 $options{'F'} or $options{'classify'} or $indicators eq 'classify'
128 0 0 10 $indicators eq 'f' or $indicators eq 'F'