blib/lib/Geo/Coordinates/Converter/Format/Dms.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 8 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
15 | 7 | 11 | 33 | defined $point->lat and $point->lat =~ /^[\-\+NS]?[0-9]{1,2}\.[0-9][0-9]?\.[0-9][0-9]?(?:\.[0-9]+)$/i |
16 | 0 | 0 | 33 | defined $point->lng and $point->lng =~ /^[\-\+EW]?[0-9]{1,3}\.[0-9][0-9]?\.[0-9][0-9]?(?:\.[0-9]+)$/i |
line | l | !l | condition |
---|---|---|---|
43 | 20 | 40 | $ws || '' |