Branch Coverage

blib/lib/File/Which.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
48 0 8 unless defined $exec
49 2 6 if $exec eq ''
81 0 0 if $exec =~ m[/] and -f $exec and -x $exec
85 0 6 if ($^O eq 'MSWin32') { }
96 0 6 if ($IMPLICIT_CURRENT_DIR)
105 0 17 if -d $file
107 5 12 if (-x _ or 0)
128 3 2 unless $all
134 2 1 if ($all) { }