| blib/lib/Geo/Coder/Abbreviations.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 9 | 16 | 56.2 | 
| line | true | false | branch | 
|---|---|---|---|
| 47 | 1 | 3 | if (not defined $class) { } | 
| 0 | 3 | elsif (ref $class) { } | |
| 60 | 1 | 3 | unless (scalar keys %abbreviations) | 
| 61 | 0 | 1 | if (eval { do { require HTTP::Cache::Transparent } }) | 
| 68 | 0 | 0 | if (my $e = $ENV{'CACHEDIR'}) { } | 
| 74 | 0 | 0 | unless HTTP::Cache::Transparent::init({"BasePath", $cachedir, "NoUpdate", 86400, "MaxAge", 720}) | 
| 85 | 0 | 1 | unless (defined $data) | 
| 91 | 62 | 281 | if (defined $_->{'type'} and $_->{'type'} eq "way") |