Condition Coverage

blib/lib/Geo/Hashing.pm
Criterion Covered Total %
condition 17 33 51.5


and 3 conditions

line !l l&&!r l&&r condition
80 0 0 2 $lat =~ /^-?\d+(?:\.\d+)?$/ and $lat > -180
0 0 2 $lat =~ /^-?\d+(?:\.\d+)?$/ and $lat > -180 and $lat < 180
88 2 0 5 defined $$self{'_dlat'} and defined $$self{'_dlon'}
106 0 0 3 $lon =~ /^-?\d+(?:\.\d+)?$/ and $lon > -180
0 0 3 $lon =~ /^-?\d+(?:\.\d+)?$/ and $lon > -180 and $lon < 180
114 4 0 41 defined $$self{'_dlat'} and defined $$self{'_dlon'}
229 0 9 0 $y == 2008 and $m > 5
0 0 9 $y == 2008 and $m == 5
0 5 4 $y == 2008 and $m == 5 and $d >= 27

or 3 conditions

line l !l&&r !l&&!r condition
90 1 0 4 $$self{'_lat'} eq '-0' || $$self{'_lat'} < 0
116 13 8 20 $$self{'_lon'} eq '-0' || $$self{'_lon'} < 0