lib/Geo/Coder/Free/DB.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 33 | 36.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
89 | 4 | 0 | 0 | defined $slurp_file and -r $slurp_file |
97 | 0 | 0 | 4 | defined $slurp_file and -r $slurp_file |
200 | 1 | 0 | 0 | scalar keys %params == 0 and $self->{'data'} |
340 | 0 | 0 | 6 | defined $^V and $^V ge 'v5.14.0' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 0 | 6 | 0 | ref $proto || $proto |
27 | 3 | 0 | 3 | $args{'logger'} || $logger |
0 | 6 | 0 | $args{'directory'} || $directory | |
34 | 0 | 5 | 0 | $directory ||= $args{'directory'} |
35 | 0 | 0 | 5 | $logger ||= $args{'logger'} |
76 | 6 | 0 | 0 | $self->{'directory'} || $directory |
330 | 0 | 0 | 1 | $self->{$table}->prepare($query) || 'Error::Simple'->throw($query) |