Branch Coverage

blib/lib/Math/PlanePath/HilbertCurve.pm
Criterion Covered Total %
branch 47 58 81.0


line true false branch
102 0 128 if ($n < 0)
103 0 128 if (is_infinite($n))
109 67 61 $#ndigits & 1 ? :
110 67 61 $#ndigits & 1 ? :
116 399 170 if ($ndigit != 3)
138 0 289 if (is_infinite($x))
140 0 289 if (is_infinite($y))
142 0 289 if ($x < 0 or $y < 0)
151 162 127 $numbits & 1 ? :
186 39 39 if $x1 > $x2
187 33 45 if $y1 > $y2
189 0 78 if ($x2 < 0 or $y2 < 0)
198 36 42 $x2 > $y2 ? :
202 0 78 if (is_infinite($level))
205 43 35 $level & 1 ? :
211 87 161 $x2 >= $x_cmp ? :
155 248 $x1 >= $x_cmp ? :
85 153 $y2 >= $y_cmp ? :
165 238 $y1 >= $y_cmp ? :
217 172 231 if ($digit_to_x[$min_state])
218 183 220 if ($digit_to_y[$min_state])
224 83 178 $x2 >= $x_cmp ? :
142 261 $x1 >= $x_cmp ? :
72 177 $y2 >= $y_cmp ? :
154 249 $y1 >= $y_cmp ? :
230 195 208 if ($digit_to_x[$max_state])
231 198 205 if ($digit_to_y[$max_state])
251 0 0 if ($n < 0)
252 0 0 if (is_infinite($n))