| line |
true |
false |
branch |
|
18
|
1 |
2 |
if (defined $_[1] and $_[1] eq 'whereis_everyone') |
|
24
|
5 |
30 |
if @_ |
|
26
|
6 |
29 |
unless (defined $sep) |
|
32
|
1 |
5 |
if (keys %Config::Config and exists $Config::Config{'path_sep'} and length $Config::Config{'path_sep'}) { } |
|
45
|
0 |
11 |
if not defined $name or $name eq '' |
|
47
|
6 |
5 |
if not defined $conf_hr or ref $conf_hr ne 'HASH' |
|
49
|
2 |
9 |
if ($$conf_hr{'cache'} and $$cache{'whereis'}{$name}) |
|
50
|
1 |
1 |
if $$conf_hr{'cache'} eq 'clear' |
|
51
|
1 |
1 |
if $$conf_hr{'cache'} and exists $$cache{'whereis'}{$name} |
|
58
|
5 |
3 |
if (-f $bin and -x _ and -s _) |
|
59
|
2 |
3 |
if $$conf_hr{'cache'} |
|
64
|
1 |
4 |
if $$conf_hr{'fallback'} |
|
70
|
6 |
5 |
if not defined $conf_hr or ref $conf_hr ne 'HASH' |
|
72
|
2 |
9 |
if ($$conf_hr{'cache'} and $$cache{'whereis_everyone'}{$name}) |
|
73
|
1 |
1 |
if $$conf_hr{'cache'} eq 'clear' |
|
74
|
1 |
1 |
if $$conf_hr{'cache'} and exists $$cache{'whereis_everyone'}{$name} |
|
83
|
11 |
3 |
if -f $bin and -x _ and -s _ |
|
86
|
2 |
8 |
if $$conf_hr{'cache'} |
|
96
|
22 |
51 |
if exists $$conf_hr{'mypath'} and length $$conf_hr{'mypath'} |
|
100
|
24 |
49 |
if (exists $$conf_hr{'prepend'} and length $$conf_hr{'prepend'}) |
|
106
|
24 |
49 |
if (exists $$conf_hr{'append'} and length $$conf_hr{'append'}) |