Branch Coverage

blib/lib/Math/PlanePath/SacksSpiral.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
82 0 1 unless eval 'use Math::BigFloat; 1'
88 0 55 if ($n < 0)
93 0 55 if (ref $n)
94 0 0 if ($n->isa('Math::BigInt'))
97 0 0 if ($n->isa('Math::BigRat'))
100 0 0 if ($n->isa('Math::BigFloat'))
116 0 3 if ($n < 0)
141 5 0 if (&hypot($nx - $x, $ny - $y) <= 0.5) { }
229 50 869 if $x1 > $x2
230 41 878 if $y1 > $y2
232 367 186 $x1 > 0 ? :
366 553 $x2 < 0 ? :
463 264 $y1 > 0 ? :
192 727 $y2 < 0 ? :
246 1283 2393 $x > $int ? :