Branch Coverage

blib/lib/File/LsColor.pm
Criterion Covered Total %
branch 18 46 39.1


line true false branch
266 0 2 if (ref $_[0] eq 'ARRAY') { }
277 0 2 if $file =~ /^\s+$/
288 0 2 if ($file =~ /^\s+(.+)/) { }
304 2 0 unless ($real_file =~ /\0/)
305 0 2 if -d $real_file
308 0 2 if (not defined $ext and $NO_STAT == 0)
309 0 0 if -l $real_file
310 0 0 if -x $real_file
311 0 0 if -d $real_file
312 0 0 if -S $real_file
313 0 0 if -p $real_file
314 0 0 if -b $real_file
315 0 0 if -c $real_file
320 0 0 if $real_file =~ m[/$]
323 0 2 unless (defined $ext)
332 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}) { }
352 1 1 wantarray ? :
362 5 0 if (@_)
401 3 3 if $table->{$ft}
402 1 2 if $$table{".$ft"}
409 1 1 $table->{$ext} ? :