Condition Coverage

blib/lib/Complete/File.pm
Criterion Covered Total %
condition 28 41 68.2


and 3 conditions

line !l l&&!r l&&r condition
145 0 13 0 $handle_tilde and $word =~ s[\A(~[^/]*)/][]
0 13 0 $allow_dot and $word =~ s[\A((?:\.\.?/+)+|/+)][]
158 13 0 0 not $allow_dot and $word =~ m[(?:\A|/)\.\.?(?:\z|/)]
168 158 28 20 $_ eq '.' || $_ eq '..' and $intdir eq ''
169 122 36 28 $isint and not -d "$path/$_"
179 10 1 2 $args{'filter'} and not ref $args{'filter'}
10 0 1 $args{'filter'} and ref $args{'filter'} eq 'CODE'
222 11 1 1 $args{'file_ext_filter'} and ref $args{'file_ext_filter'} eq 'Regexp'
11 0 1 $args{'file_ext_filter'} and ref $args{'file_ext_filter'} eq 'ARRAY'

or 2 conditions

line l !l condition
136 13 0 $args{'word'} // ''
137 0 13 $args{'handle_tilde'} // 1
138 0 13 $args{'allow_dot'} // 1
144 0 13 $args{'starting_path'} // '.'

or 3 conditions

line l !l&&r !l&&!r condition
168 24 24 158 $_ eq '.' || $_ eq '..'
285 0 1 12 $args{'exclude_nonleaf'} // $args{'exclude_dir'}