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