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
133 0 13 0 $handle_tilde and $word =~ s[\A(~[^/]*)/][]
0 13 0 $allow_dot and $word =~ s[\A((?:\.\.?/+)+|/+)][]
146 13 0 0 not $allow_dot and $word =~ m[(?:\A|/)\.\.?(?:\z|/)]
156 158 28 20 $_ eq '.' || $_ eq '..' and $intdir eq ''
157 122 36 28 $isint and not -d "$path/$_"
167 10 1 2 $args{'filter'} and not ref $args{'filter'}
10 0 1 $args{'filter'} and ref $args{'filter'} eq 'CODE'
210 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
123 13 0 $args{'word'} // ''
125 0 13 $args{'handle_tilde'} // 1
126 0 13 $args{'allow_dot'} // 1
132 0 13 $args{'starting_path'} // '.'

or 3 conditions

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