Condition Coverage

blib/lib/Geo/Location/Point.pm
Criterion Covered Total %
condition 35 45 77.7


and 3 conditions

line !l l&&!r l&&r condition
170 3 0 3 abs $self->lat - $other->lat <= 1e-09 && abs $self->long - $other->long <= 1e-09
283 7 2 0 $field eq 'street' || $field eq 'road' and $rc =~ /(.+)\s([NS][ew])$/

or 3 conditions

line l !l&&r !l&&!r condition
71 1 4 1 $args{'latitude'} // $args{'Latitude'}
6 5 1 $args{'lat'} //= $args{'latitude'} // $args{'Latitude'}
76 1 3 1 $args{'longitude'} // $args{'Longitude'}
6 4 1 $args{'long'} //= $args{'longitude'} // $args{'Longitude'}
150 1 2 0 $self->{'gis'} //= "GIS::Distance"->new
245 9 6 25 $self->{$field} || $$self{ucfirst $field}
247 2 0 9 $field eq "street" or $field eq "road"
248 2 0 0 $self->{'number'} or $self->{'house_number'}
260 9 6 0 $self->{'country'} // $self->{'Country'}
261 0 0 3 $country eq "Canada" or $country eq "Australia"
262 1 1 10 $field eq "state" or $field eq "region"
2 3 7 $field eq "state" or $field eq "region" or $field eq "country"
283 2 0 7 $field eq 'street' || $field eq 'road'