Branch Coverage

blib/lib/Math/PlanePath/HIndexing.pm
Criterion Covered Total %
branch 38 54 70.3


line true false branch
92 0 278 if ($n < 0)
95 0 278 if (is_infinite($n))
104 60 218 if ($n != $int)
138 393 520 if ($rev) { }
139 117 276 if ($digit == 1) { }
139 137 elsif ($digit == 2) { }
61 76 elsif ($digit == 3) { }
155 222 298 if ($digit == 1) { }
161 137 elsif ($digit == 2) { }
86 51 elsif ($digit == 3) { }
174 355 558 if ($xinvert) { }
179 246 667 if ($yinvert) { }
192 92 126 if ($yinvert) { }
212 0 186 if ($x < 0 or $y < 0 or $x > $y - ($y & 1))
215 0 186 if (is_infinite($x))
221 0 186 if (is_infinite($level))
232 649 377 if ($y >= $len) { }
234 502 147 if ($x >= $len) { }
241 78 69 if ($x > $yinv - ($yinv & 1)) { }
257 105 921 if ($rev)
284 0 67 if $x1 > $x2
285 0 67 if $y1 > $y2
289 0 67 if ($x2 < 0 or $y2 < 0 or $x1 > $y2 - ($y2 & 1))
306 0 0 if ($n < 0)
307 0 0 if (is_infinite($n))
320 0 0 if ($level == 0)
325 0 0 if ($level == 0)