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
127 3 0 3 abs $self->lat - $other->lat <= 1e-09 && abs $self->long - $other->long <= 1e-09
204 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'}
107 1 2 0 $self->{'gis'} //= "GIS::Distance"->new
166 9 6 25 $self->{$field} || $$self{ucfirst $field}
168 2 0 9 $field eq "street" or $field eq "road"
169 2 0 0 $self->{'number'} or $self->{'house_number'}
181 9 6 0 $self->{'country'} // $self->{'Country'}
182 0 0 3 $country eq "Canada" or $country eq "Australia"
183 1 1 10 $field eq "state" or $field eq "region"
2 3 7 $field eq "state" or $field eq "region" or $field eq "country"
204 2 0 7 $field eq 'street' || $field eq 'road'