lib/File/Locate/Harder.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 40 | 20.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
275 | 0 | 0 | 0 | -e $db and not $self->use_shell_locate |
line | l | !l | condition |
---|---|---|---|
479 | 0 | 0 | $self->shell_locate_version || '' |
793 | 0 | 2 | $db || 1 |
872 | 96 | 2 | shift() || '' |
873 | 0 | 98 | shift() || '' |
874 | 0 | 98 | shift() || $self->build_opts_for_locate_via_shell || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
259 | 0 | 2 | 0 | keys %{$args;} || !defined($$args{'db'}) |
269 | 0 | 0 | 2 | $$args{'db'} || $ENV{'LOCATE_PATH'} |
461 | 0 | 0 | 0 | shift() || $self->db || $self->determine_system_db |
626 | 0 | 0 | 0 | $opt_str_override || $self->build_opts_for_locate_via_shell |
703 | 0 | 0 | 0 | shift() || $self->db |
728 | 0 | 0 | 0 | shift() || $self->db |
792 | 0 | 0 | 2 | shift() || $default_db |
959 | 0 | 0 | 0 | $self->regexp or $rexopt_str |
1098 | 0 | 0 | 0 | shift() || $self->db |