Branch Coverage

lib/Geo/Coder/OpenCage.pm
Criterion Covered Total %
branch 3 24 12.5


line true false branch
19 1 2 unless ($params{'api_key'})
27 0 2 if (defined($params{'http'} && $params{'http'} == 1))
44 0 0 if (defined $ua)
76 0 0 if (defined $params{'location'}) { }
84 0 0 unless (defined $params{$k})
88 0 0 unless ($params{$k})
107 0 0 unless ($response)
110 0 0 ref $response eq 'HTTP::Response' ? :
118 0 0 ref $response eq 'HTTP::Response' ? :
121 0 0 ref $response eq 'HTTP::Response' ? :
126 0 0 unless ($is_success)
138 0 0 unless (defined $params{$k})