| line | % | coverage | condition |
| 144 | 100 | | $config->{$cache_type} || {} |
| 199 | 50 | | defined $value and $value =~ /^\d+$/u and $value > 0 |
| 206 | 33 | | $port >= 1 and $port <= 65535 |
| 211 | 50 | | exists $cache_config->{'datastore'} and exists $cache_config->{'global'} and my $driver = $cache_config->{'driver'} |
| 263 | 100 | | $args->{'namespace'} || 'default' |
| 267 | 33 | | $logger and $logger->can("error") |
| 306 | 0 | | $config->{'encoding'} || 'utf8' |
| 0 | | $config->{'reconnect'} || 60 |
| 0 | | $config->{'every'} || 1000000 |
| 328 | 0 | | $config->{'create_table'} // 1 |
| 333 | 0 | | $args->{'shm_key'} || $config->{'shm_key'} || croak(q[SharedMem driver requires 'shm_key' parameter]) |
| 335 | 0 | | $args->{'shm_size'} || $config->{'shm_size'} || 16384 |
| 336 | 0 | | $args->{'max_size'} || $config->{'max_size'} || 1024 |
| 360 | 67 | | $ENV{'root_dir'} || $args->{'root_dir'} || $config->{'root_dir'} || $args->{'config'}{'root_dir'} |
| 363 | 67 | | -d $root_dir and -w $root_dir |
| 371 | 0 | | $config->{'server'} || $config->{'host'} |
| 380 | 0 | | $config->{'port'} || croak("Port not specified for server '${server_entry}'") |
| 387 | 0 | | $port > 0 and $port <= 65535 |
| 423 | 100 | | abs $lat1 > 90 or abs $lat2 > 90 |
| 425 | 100 | | abs $lon1 > 180 or abs $lon2 > 180 |
| 429 | 100 | | $lat1 == $lat2 and $lon1 == $lon2 |
| 432 | 100 | | $unit || 'M' |
| 467 | 67 | | $abbreviations ||= "Geo::Coder::Abbreviations"->new |
| 472 | 100 | | lc $words[-2] ne "cross" and $a = $abbreviations->abbreviate($words[-2]) |
| 499 | 67 | | $abbreviations ||= "Geo::Coder::Abbreviations"->new |
| 500 | 67 | | $abbreviations->abbreviate($type) || $type |