blib/lib/Geo/Coordinates/Converter/Format/Degree.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 12 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
13 | 7 | 18 | 21 | defined $point->lat and $point->lat =~ /^[\-\+NS]?([0-9]{1,2}(?:\.[0-9]+))$/i |
15 | 0 | 0 | 21 | defined $point->lng and $point->lng =~ /^[\-\+WE]?([0-9]{1,3}(?:\.[0-9]+))$/i |
18 | 0 | 0 | 21 | -90 < $lat_nums and $lat_nums < 90 |
19 | 0 | 0 | 21 | -180 < $lng_nums and $lng_nums < 180 |