Branch Coverage

blib/lib/Geo/IPinfo.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
53 0 0 defined $options{'timeout'} ? :
90 0 0 unless (defined $field)
96 0 0 unless (defined $valid_fields{$field})
121 0 0 defined $ip ? :
122 0 0 defined $field ? :
127 0 0 defined $info ? :
137 0 0 if (defined $cached_info)
143 0 0 unless (defined $source_info)
149 0 0 if (defined $country)
154 0 0 if (defined $source_info->{'loc'})
172 0 0 if (defined $cached_info)
175 0 0 if ($timedelta <= $cache_ttl or $custom_cache == 1)
193 0 0 if ($response->is_success)
200 0 0 if ($response->code == 429)
213 0 0 if (defined $options{'countries'}) { }
225 0 0 unless open my $fh, '<', $data_location
238 0 0 if (defined $options{'cache'})
246 0 0 if (defined $options{'cache_ttl'})
253 0 0 defined $options{'cache_max_size'} ? :