Branch Coverage

blib/lib/Tree/R.pm
Criterion Covered Total %
branch 73 110 66.3


line true false branch
115 1 2 unless $$self{'m'}
116 1 2 unless $$self{'M'}
125 13 75 unless $N
126 1 87 unless $N
127 55 32 if (not $$N[0]) { }
139 2 10 unless $N
140 2 8 unless $x >= $$N[2] and $x <= $$N[4] and $y >= $$N[3] and $y <= $$N[5]
141 4 4 if (not $$N[0]) { }
154 0 0 unless $N
156 0 0 if $$N[2] > $maxx or $$N[4] < $minx or $$N[3] > $maxy or $$N[5] < $miny
160 0 0 if (not $$N[0]) { }
161 0 0 if $$N[2] >= $minx and $$N[4] <= $maxx and $$N[3] >= $miny and $$N[5] <= $maxy
175 2 0 unless $Node
182 2 14 if ($${$N;}[2] > $maxx or $${$N;}[4] < $minx or $${$N;}[3] > $maxy or $${$N;}[5] < $miny) { }
191 4 0 if (not $${$N;}[0] and $${$N;}[2] >= $minx and $${$N;}[4] <= $maxx and $${$N;}[3] >= $miny and $${$N;}[5] <= $maxy)
200 6 8 if ($${$N;}[0])
217 0 0 unless $N
219 0 0 if $$N[2] > $maxx or $$N[4] < $minx or $$N[3] > $maxy or $$N[5] < $miny
223 0 0 if (not $$N[0]) { }
237 2 0 unless $Node
244 2 14 if ($${$N;}[2] > $maxx or $${$N;}[4] < $minx or $${$N;}[3] > $maxy or $${$N;}[5] < $miny) { }
253 8 6 if (not $${$N;}[0]) { }
272 4 18 if (not $$self{'root'}) { }
277 2 16 if @{$$N[1];} > $$self{'M'}
286 11 12 unless $leaf
289 29 12 if (not $$entry[0]) { }
290 11 18 if $$entry[1] == $object
293 7 5 if @ret
301 11 45 unless $N
302 33 23 if $$N[0] == 0
306 23 22 @bbox ? :
316 0 11 unless $leaf
322 1 10 if ($parent and @{$$leaf[1];} < $$self{'m'}) { }
328 1 0 if (@{$$parent[1];} < $$self{'m'})
347 1 0 if @{$$N[1];} > $$self{'M'}
355 1 10 unless defined $$self{'root'}[2]
360 0 0 unless $N
361 0 0 unless $N
362 0 0 unless $level
363 0 0 if (not $$N[0]) { }
376 0 19 unless ($$self{'root'})
384 19 9 if (not $$N[1][0][0]) { }
394 7 2 if (not $chosen or $needed_enlargement < $needed_enlargement_of_chosen or $area < $area_of_chosen)
421 0 3 unless (@$group == 0)
422 0 0 if (@$E1 < @$E2) { }
446 18 0 if (not $d or $d_test > $d)
462 0 6 if $cmp == 0
463 0 6 if $cmp == 0
464 2 4 if ($cmp <= 0) { }
4 0 elsif ($cmp > 0) { }
483 6 3 unless defined $area_of_enlarged1
485 6 3 unless defined $area_of_enlarged2
487 9 0 if (not $next or $diff > $max_diff)
512 91 149 $_[0] > $_[1] ? :
516 115 125 $_[0] > $_[1] ? :