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 53 75 $#ndigits & 1 ? :
110 53 75 $#ndigits & 1 ? :
116 343 142 if ($ndigit != 3)
138 0 288 if (is_infinite($x))
140 0 288 if (is_infinite($y))
142 0 288 if ($x < 0 or $y < 0)
151 142 146 $numbits & 1 ? :
186 35 43 if $x1 > $x2
187 37 41 if $y1 > $y2
189 0 78 if ($x2 < 0 or $y2 < 0)
198 33 45 $x2 > $y2 ? :
202 0 78 if (is_infinite($level))
205 39 39 $level & 1 ? :
211 84 135 $x2 >= $x_cmp ? :
128 219 $x1 >= $x_cmp ? :
86 121 $y2 >= $y_cmp ? :
140 207 $y1 >= $y_cmp ? :
217 146 201 if ($digit_to_x[$min_state])
218 156 191 if ($digit_to_y[$min_state])
224 80 139 $x2 >= $x_cmp ? :
128 219 $x1 >= $x_cmp ? :
83 145 $y2 >= $y_cmp ? :
119 228 $y1 >= $y_cmp ? :
230 177 170 if ($digit_to_x[$max_state])
231 170 177 if ($digit_to_y[$max_state])
251 0 0 if ($n < 0)
252 0 0 if (is_infinite($n))