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 219 468 if ($rev) { }
139 59 160 if ($digit == 1) { }
53 107 elsif ($digit == 2) { }
56 51 elsif ($digit == 3) { }
155 142 326 if ($digit == 1) { }
92 234 elsif ($digit == 2) { }
151 83 elsif ($digit == 3) { }
174 211 476 if ($xinvert) { }
179 168 519 if ($yinvert) { }
192 63 155 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 628 364 if ($y >= $len) { }
234 498 130 if ($x >= $len) { }
241 59 71 if ($x > $yinv - ($yinv & 1)) { }
257 95 897 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)