Branch Coverage

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


line true false branch
49 0 8 unless defined $exec
50 2 6 if $exec eq ''
82 0 0 if $exec =~ m[/] and -f $exec and -x $exec
86 0 6 if ($^O eq 'MSWin32') { }
97 0 6 if ($IMPLICIT_CURRENT_DIR)
106 0 17 if -d $file
108 5 12 if (-x _ or 0)
129 3 2 unless $all
135 2 1 if ($all) { }