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 371 457 if ($rev) { }
139 100 271 if ($digit == 1) { }
95 176 elsif ($digit == 2) { }
72 104 elsif ($digit == 3) { }
155 191 266 if ($digit == 1) { }
120 146 elsif ($digit == 2) { }
96 50 elsif ($digit == 3) { }
174 348 480 if ($xinvert) { }
179 221 607 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 610 355 if ($y >= $len) { }
234 504 106 if ($x >= $len) { }
241 36 70 if ($x > $yinv - ($yinv & 1)) { }
257 79 886 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)