Condition Coverage

blib/lib/Geo/SpatialDB.pm
Criterion Covered Total %
condition 3 39 7.6


and 3 conditions

line !l l&&!r l&&r condition
29 0 0 0 $_[0] and ref($_[0])->can('get')
58 0 0 0 $level and $lat1 - $lat0 > $self->zoom_levels->[$level][1]

or 2 conditions

line l !l condition
30 1 0 $_[0] // {}
31 0 1 delete $cfg{'CLASS'} // 'LMDB_Storable'
69 0 0 $stor->get($bucket_key) // {}
71 0 0 $bucket->{'ent'} // []
81 0 0 $e->rad // 0
159 0 0 $bucket->{'ent'} // []

or 3 conditions

line l !l&&r !l&&!r condition
29 0 1 0 not $_[0] or ref $_[0] eq 'HASH'
95 0 0 0 not defined $lat0 or $lat0 > $pt->[0]
96 0 0 0 not defined $lat1 or $lat1 < $pt->[0]
97 0 0 0 not defined $lon0 or $lon0 > $pt->[1]
98 0 0 0 not defined $lon1 or $lon1 < $pt->[1]
152 0 0 0 $min_arc //= $bbox->dLat / 200
160 0 0 0 $result{'entities'}{$_} //= $self->storage->get($_)