| blib/lib/Geo/Coder/Ovi.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 26 | 34.6 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 1 | 1 | if ($$self{'debug'}) |
| 34 | 1 | 1 | exists $$self{'compress'} ? : |
| 1 | 1 | if (exists $$self{'compress'} ? $$self{'compress'} : 1) | |
| 45 | 2 | 3 | if ($ua) |
| 46 | 0 | 2 | unless ref $ua and $ua->isa('LWP::UserAgent') |
| 55 | 0 | 0 | @params % 2 ? : |
| 60 | 0 | 0 | unless my $location = delete $params{'location'} |
| 62 | 0 | 0 | if (my $language = delete $params{'language'}) |
| 79 | 0 | 0 | unless $res->is_success |
| 86 | 0 | 0 | unless $data |
| 87 | 0 | 0 | if $raw |
| 89 | 0 | 0 | unless $$data{'results'} |
| 90 | 0 | 0 | wantarray ? : |