Condition Coverage

blib/lib/Geo/Lookup/ByTime.pm
Criterion Covered Total %
condition 20 36 55.5


and 3 conditions

line !l l&&!r l&&r condition
40 295 0 11 blessed $pt and $pt->can('latitude')
295 0 11 blessed $pt and $pt->can('latitude') and $pt->can('longitude')
0 0 11 blessed $pt and $pt->can('latitude') and $pt->can('longitude') and $pt->can('time')
68 0 0 292 exists $$pt{'lat'} and exists $$pt{'lon'}
0 0 292 exists $$pt{'lat'} and exists $$pt{'lon'} and exists $$pt{'time'}
90 0 0 313 defined $$_{'lat'} and defined $$_{'lon'}
127 1 305 112 $mid < $max and $$pts[$mid]{'time'} < $time
136 0 0 600 $lo <= $mid and $mid <= $hi
197 100 36 64 defined $max_dist and $best_dist > $max_dist

or 3 conditions

line l !l&&r !l&&!r condition
163 1 3 0 $$pts[$pos]{'orig'} || $$pts[$pos]
189 200 0 100 wantarray or defined $max_dist
202 0 136 0 $$best{'orig'} || $best