blib/lib/Geo/Coordinates/Converter/Format/Degree.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 8 | 62.5 |
line | true | false | branch |
---|---|---|---|
13 | 25 | 21 | unless defined $point->lat and $point->lat =~ /^[\-\+NS]?([0-9]{1,2}(?:\.[0-9]+))$/i |
15 | 0 | 21 | unless defined $point->lng and $point->lng =~ /^[\-\+WE]?([0-9]{1,3}(?:\.[0-9]+))$/i |
18 | 0 | 21 | unless -90 < $lat_nums and $lat_nums < 90 |
19 | 0 | 21 | unless -180 < $lng_nums and $lng_nums < 180 |