Branch Coverage

blib/lib/Dir/Which.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
148 0 0 /^-/ ? :
150 0 0 unless my $file = $h{'-entry'}
153 0 0 if (exists $h{'-env'})
156 0 0 if (exists $ENV{$env})
163 0 0 if (scalar @matches > 0)
165 0 0 wantarray ? :
168 0 0 if (exists $h{'-defaultpath'})
175 0 0 if (scalar @matches > 0)
177 0 0 wantarray ? :
179 0 0 wantarray ? :
187 0 0 if ($@) { }
206 0 0 unless $d
212 0 0 unless -e $testfile
218 0 0 unless wantarray
223 0 0 if (wantarray) { }