Branch Coverage

blib/lib/File/LsColor.pm
Criterion Covered Total %
branch 18 48 37.5


line true false branch
268 0 2 if (ref $_[0] eq 'ARRAY') { }
279 0 2 if $file =~ /^\s+$/
290 0 2 if ($file =~ /^\s+(.+)/) { }
306 2 0 unless ($real_file =~ /\0/)
307 0 2 if -d $real_file
310 0 2 if (not defined $ext and $NO_STAT == 0)
311 0 0 if -l $real_file
312 0 0 if -x $real_file
313 0 0 if -d $real_file
314 0 0 if -S $real_file
315 0 0 if -p $real_file
316 0 0 if -b $real_file
317 0 0 if -c $real_file
322 0 0 if $real_file =~ m[/$]
325 0 2 unless (defined $ext)
334 0 2 if (exists $extracted_ls_colors->{$real_file}) { }
2 0 elsif (exists $extracted_ls_colors->{$ext}) { }
0 0 elsif ($IGNORE_CASE and $$extracted_ls_colors{lc $ext}) { }
354 1 1 wantarray ? :
364 5 0 if (@_)
403 3 3 if $table->{$ft}
404 1 2 if $$table{".$ft"}
411 1 1 $table->{$ext} ? :
459 0 0 $slack{uc $query} ? :