Branch Coverage

blib/lib/Algorithm/QuadTree/PP.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
24 21 68 if ($depth < $self->{'DEPTH'}) { }
69 4 17 $coords[0] > $cxmax ? :
7 21 $coords[0] < $cxmin ? :
76 6 18 $coords[1] > $cymax ? :
4 24 $coords[1] < $cymin ? :
83 26 2 if ($coords[0] - $cx) ** 2 + ($coords[1] - $cy) ** 2 <= $radius_squared
106 236 511 if $coords[0] > $current->{'AREA'}[2] or $coords[2] < $current->{'AREA'}[0] or $coords[1] > $current->{'AREA'}[3] or $coords[3] < $current->{'AREA'}[1]
108 263 248 if ($current->{'CHILDREN'}) { }
123 12 113 if @_ == 4
174 0 1 unless exists $self->{'BACKREF'}{$object}