lib/Geo/Coder/Free/DB/cities.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 5 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 7 | 7 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Geo::Coder::Free::DB::cities; | ||||||
2 | |||||||
3 | # cities.csv is from https://www.maxmind.com/en/free-world-cities-database | ||||||
4 | |||||||
5 | 4 | 4 | 87659 | use Geo::Coder::Free::DB; | |||
4 | 6 | ||||||
4 | 223 | ||||||
6 | |||||||
7 | our @ISA = ('Geo::Coder::Free::DB'); | ||||||
8 | |||||||
9 | sub _open { | ||||||
10 | 20 | 20 | 40 | my $self = shift; | |||
11 | |||||||
12 | 20 | 87 | return $self->SUPER::_open(sep_char => ','); | ||||
13 | } | ||||||
14 | |||||||
15 | 1; |