Branch Coverage

blib/lib/Math/Vector/Real/Farthest.pm
Criterion Covered Total %
branch 58 96 60.4


line true false branch
34 837 1835477 if ($d2 > $best_d2)
41 126 0 wantarray ? :
47 4 3 if @_ & 1
51 132 101 if ($a > $b) { }
52 9 123 if $a > $max
53 15 117 if $b < $min
56 10 91 if $b > $max
57 5 96 if $a < $min
62 7 0 wantarray ? :
69 0 0 unless $skr_loaded++
94 0 0 if ($y < $yl) { }
0 0 elsif ($y > $yu) { }
105 0 0 if ($l[-1][1] - $oy) * ($x - $ox) < ($yl - $oy) * ($l[-1][0] - $ox)
111 0 0 if ($u[-1][1] - $oy) * ($x - $ox) > ($yu - $oy) * ($u[-1][0] - $ox)
123 0 0 if $$u[1] == $u[-1][1]
124 0 0 if $$l[1] == $l[0][1]
131 0 0 if ($d2 > $best_d2)
136 0 0 if (not @u) { }
0 0 elsif (not @l) { }
137 0 0 unless @l
146 0 0 if ($du * $d > $dl * $d) { }
166 0 0 wantarray ? :
172 0 100 unless @_
176 33 67 if (@_ <= 10)
177 5 28 if (@_ <= 2)
181 5 0 wantarray ? :
183 26 2 if $dim > 1
186 12 57 if ($dim <= 2)
188 7 5 if $dim == 1
191 0 5 if $optimization_convex_hull
200 62 0 if ($best_d2) { }
204 62 0 if ($optimization_core) { }
223 367 2 if ($t2 + 3 * $y2 > 0)
224 104 263 if ($y2 > $t2) { }
240 5 57 if ($nellipsoid_volumen > $ncube_volumen * 0.1) { }
261 16 14116 unless $d2 > $best_d2
265 7248 6868 if $b and $$a[2] < $$b[2]
266 7041 7075 if (my $avs = $$a[3])
267 6296 745 if ($$a[2] <= $threshold_brute_force)
268 6199 97 if ($b) { }
274 448 954374 if ($best_d2 < $d2)
287 27 5539 if ($best_d2 < $d2)
314 7434 386 if ($b) { }
333 14179 1847 if ($d2 > $best_d2)
337 13625 2185012 if $d2[$p - 1] <= $d2
349 62 0 wantarray ? :
360 0 0 unless @_
362 0 0 unless $dim == 2