Condition Coverage

blib/lib/Geo/Location/Point.pm
Criterion Covered Total %
condition 34 48 70.8


and 3 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
48 0 11 0 ref $proto || $proto
55 0 5 1 $args{'latitude'} // $args{'Latitude'}
5 5 1 $args{'lat'} //= $args{'latitude'} // $args{'Latitude'}
60 0 4 1 $args{'longitude'} // $args{'Longitude'}
5 4 1 $args{'long'} //= $args{'longitude'} // $args{'Longitude'}
131 1 2 0 $self->{'gis'} //= "GIS::Distance"->new
190 9 6 25 $self->{$field} || $$self{ucfirst $field}
192 2 0 9 $field eq "street" or $field eq "road"
193 2 0 0 $self->{'number'} or $self->{'house_number'}
205 9 6 0 $self->{'country'} // $self->{'Country'}
206 0 0 3 $country eq "Canada" or $country eq "Australia"
207 1 1 10 $field eq "state" or $field eq "region"
2 3 7 $field eq "state" or $field eq "region" or $field eq "country"
228 2 0 7 $field eq 'street' || $field eq 'road'