Branch Coverage

blib/lib/Bash/Completion/Utils.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
26 3 8 if -x $file
38 1 10 if $pm =~ /[^:]:$/
41 1 10 unless $ns
47 10 94 if $lib eq '.'
54 0 11 if 1 == @found and $found[0] eq $filter
61 63 31 unless opendir my $dh, $dir
64 68 342 if $entry =~ /^[.]/
68 11 331 if (-d $path and $entry =~ /^$name/) { }
41 447 elsif (-f _ and $entry =~ /^($name.*)[.]pm$/) { }