Condition Coverage

blib/lib/Complete/File.pm
Criterion Covered Total %
condition 26 38 68.4


and 3 conditions

line !l l&&!r l&&r condition
132 0 13 0 $handle_tilde and $word =~ s[\A(~[^/]*)/][]
0 13 0 $allow_dot and $word =~ s[\A((?:\.\.?/+)+|/+)][]
145 13 0 0 not $allow_dot and $word =~ m[(?:\A|/)\.\.?(?:\z|/)]
155 158 28 20 $_ eq '.' || $_ eq '..' and $intdir eq ''
156 122 36 28 $isint and not -d "$path/$_"
166 10 1 2 $args{'filter'} and not ref $args{'filter'}
10 0 1 $args{'filter'} and ref $args{'filter'} eq 'CODE'
209 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
122 13 0 $args{'word'} // ''
124 0 13 $args{'handle_tilde'} // 1
125 0 13 $args{'allow_dot'} // 1
131 0 13 $args{'starting_path'} // '.'

or 3 conditions

line l !l&&r !l&&!r condition
155 24 24 158 $_ eq '.' || $_ eq '..'