line |
true |
false |
branch |
128
|
1 |
9 |
if (scalar @_ == 1) { } |
148
|
4 |
2 |
unless (exists $options{'exe'} or exists $options{'dir'}) |
150
|
0 |
4 |
$options{'env'} eq 'PATH' ? : |
153
|
0 |
9 |
if $options{'exe'} and $options{'dir'} |
159
|
1 |
9 |
if ('File::Spec'->file_name_is_absolute($file)) |
160
|
1 |
0 |
_file_ok($file, $options{'exe'}, $options{'dir'}) ? : |
175
|
0 |
19 |
unless $d |
179
|
2 |
17 |
if ($options{'dir'}) { } |
186
|
9 |
10 |
unless _file_ok($testfile, $options{'exe'}, $options{'dir'}) |
192
|
4 |
6 |
unless wantarray |
197
|
3 |
6 |
if (wantarray) { } |
234
|
0 |
1 |
unless (defined $var or defined $contents) |
241
|
8 |
1 |
if (defined $var) |
243
|
0 |
8 |
unless exists $ENV{$var} |
246
|
0 |
8 |
unless defined $ENV{$var} |
254
|
0 |
9 |
$@ ? : |
256
|
1 |
8 |
if (not $use_env_path or defined $contents) { } |
258
|
1 |
0 |
defined $contents ? : |
292
|
0 |
20 |
if $testexe and $testdir |
294
|
7 |
13 |
unless -e $testfile |
295
|
0 |
13 |
unless -r $testfile |
297
|
2 |
11 |
if ($testdir) { } |
|
2 |
9 |
elsif ($testexe) { } |