| line | % | coverage | condition |
| 145 | 100 | | $config->{$cache_type} || {} |
| 200 | 50 | | defined $value and $value =~ /^\d+$/u and $value > 0 |
| 207 | 33 | | $port >= 1 and $port <= 65535 |
| 212 | 50 | | exists $cache_config->{'datastore'} and exists $cache_config->{'global'} and my $driver = $cache_config->{'driver'} |
| 264 | 100 | | $args->{'namespace'} || 'default' |
| 268 | 33 | | $logger and $logger->can("error") |
| 307 | 0 | | $config->{'encoding'} || 'utf8' |
| 0 | | $config->{'reconnect'} || 60 |
| 0 | | $config->{'every'} || 1000000 |
| 329 | 0 | | $config->{'create_table'} // 1 |
| 334 | 0 | | $args->{'shm_key'} || $config->{'shm_key'} || croak(q[SharedMem driver requires 'shm_key' parameter]) |
| 336 | 0 | | $args->{'shm_size'} || $config->{'shm_size'} || 16384 |
| 337 | 0 | | $args->{'max_size'} || $config->{'max_size'} || 1024 |
| 361 | 67 | | $ENV{'root_dir'} || $args->{'root_dir'} || $config->{'root_dir'} || $args->{'config'}{'root_dir'} |
| 364 | 67 | | -d $root_dir and -w $root_dir |
| 372 | 0 | | $config->{'server'} || $config->{'host'} |
| 381 | 0 | | $config->{'port'} || croak("Port not specified for server '${server_entry}'") |
| 388 | 0 | | $port > 0 and $port <= 65535 |
| 424 | 100 | | abs $lat1 > 90 or abs $lat2 > 90 |
| 426 | 100 | | abs $lon1 > 180 or abs $lon2 > 180 |
| 430 | 100 | | $lat1 == $lat2 and $lon1 == $lon2 |
| 433 | 100 | | $unit || 'M' |
| 468 | 67 | | $abbreviations ||= "Geo::Coder::Abbreviations"->new |
| 473 | 100 | | lc $words[-2] ne "cross" and $a = $abbreviations->abbreviate($words[-2]) |
| 500 | 67 | | $abbreviations ||= "Geo::Coder::Abbreviations"->new |
| 501 | 67 | | $abbreviations->abbreviate($type) || $type |