Branch Coverage

blib/lib/Geo/Coder/Bing/Bulk.pm
Criterion Covered Total %
branch 11 60 18.3


line true false branch
18 2 2 @params % 2 ? :
20 0 4 unless $params{'key'}
28 0 2 exists $$self{'compress'} ? :
2 2 if ($$self{'debug'}) { }
2 0 elsif (exists $$self{'compress'} ? $$self{'compress'} : 1) { }
37 0 4 if $$self{'https'} and not $self->ua->is_protocol_supported('https')
49 4 6 if ($ua)
50 0 4 unless ref $ua and $ua->isa('LWP::UserAgent')
60 0 0 1 == @_ && 'ARRAY' eq ref $_[0] ? :
61 0 0 unless @$locs
66 0 0 if $$self{'https'}
86 0 0 unless $res->is_success
93 0 0 unless $content
96 0 0 unless $data
105 0 0 if not $status or 'pending' eq $status
111 0 0 unless $$self{'content'} or $$self{'id'}
117 0 0 if $$self{'https'}
123 0 0 unless $res->is_success
130 0 0 unless $content
133 0 0 unless $data
136 0 0 unless $$resources{'status'}
138 0 0 if $$resources{'failedEntityCount'}
139 0 0 if $$resources{'processedEntityCount'}
150 0 0 unless 'completed' eq $$self{'status'}
151 0 0 unless $$self{$type}
157 0 0 if $$self{'https'}
163 0 0 unless $res->is_success
166 0 0 unless $$content_ref
205 0 0 if (length $val)
207 0 0 if (ref $key) { }