| blib/lib/Geo/Coder/Abbreviations.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 14 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 42 | 1 | 1 | unless defined $class |
| 44 | 1 | 0 | unless (scalar keys %abbreviations) |
| 45 | 0 | 1 | if (eval { do { require HTTP::Cache::Transparent } }) |
| 52 | 0 | 0 | if (my $e = $ENV{'CACHEDIR'}) { } |
| 58 | 0 | 0 | unless HTTP::Cache::Transparent::init({'BasePath', $cachedir, 'NoUpdate', 86400, 'MaxAge', 720}) |
| 68 | 0 | 1 | unless defined $data |
| 72 | 62 | 281 | if (defined $_->{'type'} and $_->{'type'} eq 'way') |