Branch Coverage

blib/lib/GeoIP2/Database/Reader.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
55 3 155 unless (defined $ip)
62 108 47 unless ($self->metadata->database_type =~ /$args{'type_check'}/)
72 3 44 if ($ip eq 'me')
79 3 41 if (is_private_ip($ip))
88 24 14 unless ($geoip_record)
97 10 4 if ($args{'is_flat'}) { }