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 369 187 $x1 > 0 ? :
363 556 $x2 < 0 ? :
462 256 $y1 > 0 ? :
201 718 $y2 < 0 ? :
246 1283 2393 $x > $int ? :