Branch Coverage

blib/lib/File/LsColor.pm
Criterion Covered Total %
branch 18 44 40.9


line true false branch
263 0 2 if (ref $_[0] eq 'ARRAY') { }
274 0 2 if $file =~ /^\s+$/
285 0 2 if ($file =~ /^\s+(.+)/) { }
301 2 0 unless ($real_file =~ /\0/)
302 0 2 if -d $real_file
305 0 2 if (not defined $ext and $NO_STAT == 0)
306 0 0 if -l $real_file
307 0 0 if -x $real_file
308 0 0 if -d $real_file
309 0 0 if -S $real_file
310 0 0 if -p $real_file
311 0 0 if -b $real_file
312 0 0 if -c $real_file
317 0 0 if $real_file =~ m[/$]
320 0 2 unless (defined $ext)
329 0 2 if (exists $extracted_ls_colors->{$real_file}) { }
2 0 elsif (exists $extracted_ls_colors->{$ext}) { }
339 1 1 wantarray ? :
349 5 0 if (@_)
388 3 3 if $table->{$ft}
389 1 2 if $$table{".$ft"}
396 1 1 $table->{$ext} ? :