blib/lib/Geo/Coordinates/Converter/Format/Dms.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 6 | 83.3 |
line | true | false | branch |
---|---|---|---|
15 | 18 | 33 | unless defined $point->lat and $point->lat =~ /^[\-\+NS]?[0-9]{1,2}\.[0-9][0-9]?\.[0-9][0-9]?(?:\.[0-9]+)$/i |
16 | 0 | 33 | unless defined $point->lng and $point->lng =~ /^[\-\+EW]?[0-9]{1,3}\.[0-9][0-9]?\.[0-9][0-9]?(?:\.[0-9]+)$/i |
27 | 16 | 32 | $ws =~ /\-/i ? : |