Branch Coverage

blib/lib/Geo/Coder/TomTom.pm
Criterion Covered Total %
branch 14 32 43.7


line true false branch
17 2 3 @params % 2 ? :
19 1 4 unless exists $params{'apikey'}
27 2 2 if ($$self{'debug'})
33 2 2 exists $$self{'compress'} ? :
2 2 if (exists $$self{'compress'} ? $$self{'compress'} : 1)
37 0 4 if $$self{'https'} and not $self->ua->is_protocol_supported('https')
47 4 6 if ($ua)
48 0 4 unless ref $ua and $ua->isa('LWP::UserAgent')
57 0 0 @params % 2 ? :
59 0 0 unless $params{'query'} = delete $params{'location'}
63 0 0 if $$self{'https'}
71 0 0 unless $res->is_success
78 0 0 unless $content
81 0 0 unless $data
85 0 0 'ARRAY' eq ref $results ? :
87 0 0 wantarray ? :