| line |
true |
false |
branch |
|
253
|
2 |
0 |
if ($@) |
|
259
|
0 |
2 |
if (grep {/^db$/;} keys %{$args;} || !defined($$args{'db'})) |
|
268
|
2 |
0 |
if ($probe_db) |
|
269
|
0 |
2 |
if ($db = $$args{'db'} || $ENV{'LOCATE_PATH'}) { } |
|
|
0 |
2 |
elsif ($db = $self->determine_system_db) { } |
|
|
0 |
2 |
elsif ($self->probe_db_via_shell_locate) { } |
|
275
|
0 |
0 |
if (-e $db and not $self->use_shell_locate) |
|
334
|
0 |
0 |
if ($self->use_shell_locate) { } |
|
386
|
0 |
0 |
if ($ret != 0) { } |
|
388
|
0 |
0 |
if $? |
|
396
|
0 |
0 |
unless ($status) |
|
399
|
0 |
0 |
if (-e $db) |
|
478
|
0 |
0 |
if ($self->use_shell_locate) { } |
|
542
|
0 |
0 |
if ($ret) { } |
|
546
|
0 |
0 |
if $? |
|
551
|
0 |
0 |
unless ($ret) |
|
589
|
0 |
0 |
if (not $coderef) { } |
|
620
|
0 |
0 |
unless (defined $self->shell_locate_cmd_idx) |
|
660
|
0 |
2 |
if ($self->system_db_not_found) |
|
668
|
0 |
0 |
if ($self->probe_db_via_module_locate($db)) |
|
674
|
0 |
0 |
if ($self->probe_db_via_shell_locate($db)) |
|
706
|
0 |
0 |
if ($self->probe_db_via_module_locate) { } |
|
|
0 |
0 |
elsif ($self->probe_db_via_shell_locate) { } |
|
731
|
0 |
0 |
if ($self->use_shell_locate) |
|
744
|
0 |
0 |
if ($@) |
|
748
|
0 |
0 |
if ($found_one) { } |
|
782
|
0 |
2 |
if ($self->shell_locate_failed) |
|
787
|
2 |
0 |
if ($self->system_db_not_found) { } |
|
804
|
2 |
0 |
if $test_search_terms_aref |
|
817
|
0 |
96 |
if (scalar @hits > 0) |
|
876
|
96 |
2 |
if defined $cmd_idx |
|
881
|
0 |
98 |
if ($db) { } |
|
900
|
2 |
96 |
unless (defined $cmd_idx) |
|
904
|
0 |
96 |
if ($cmd_idx > $limit) |
|
927
|
0 |
100 |
if ($self->case_insensitive) |
|
930
|
0 |
100 |
if ($self->regexp) |
|
933
|
0 |
100 |
if ($self->posix_extended) |
|
936
|
0 |
100 |
if $opt_str |
|
953
|
0 |
0 |
if ($self->case_insensitive) |
|
956
|
0 |
0 |
if ($self->posix_extended) |
|
959
|
0 |
0 |
if ($self->regexp or $rexopt_str) |
|
963
|
0 |
0 |
if $rexopt_str |
|
1102
|
0 |
0 |
if ($self->probe_db_via_module_locate($db)) { } |
|
1105
|
0 |
0 |
if ($self->probe_db_via_shell_locate($db)) { } |
|
1129
|
0 |
24 |
if $AUTOLOAD =~ /DESTROY$/ |
|
1135
|
0 |
24 |
unless defined $ATTRIBUTES{$field} |
|
1142
|
10 |
14 |
if ($name =~ /^set_/) { } |
|
|
0 |
14 |
elsif ($name =~ /^get_/) { } |