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 63 65 $#ndigits & 1 ? :
110 63 65 $#ndigits & 1 ? :
116 381 134 if ($ndigit != 3)
138 0 259 if (is_infinite($x))
140 0 259 if (is_infinite($y))
142 0 259 if ($x < 0 or $y < 0)
151 129 130 $numbits & 1 ? :
186 35 43 if $x1 > $x2
187 34 44 if $y1 > $y2
189 0 78 if ($x2 < 0 or $y2 < 0)
198 34 44 $x2 > $y2 ? :
202 0 78 if (is_infinite($level))
205 42 36 $level & 1 ? :
211 82 170 $x2 >= $x_cmp ? :
152 252 $x1 >= $x_cmp ? :
81 177 $y2 >= $y_cmp ? :
146 258 $y1 >= $y_cmp ? :
217 176 228 if ($digit_to_x[$min_state])
218 169 235 if ($digit_to_y[$min_state])
224 76 180 $x2 >= $x_cmp ? :
148 256 $x1 >= $x_cmp ? :
78 175 $y2 >= $y_cmp ? :
151 253 $y1 >= $y_cmp ? :
230 196 208 if ($digit_to_x[$max_state])
231 191 213 if ($digit_to_y[$max_state])
251 0 0 if ($n < 0)
252 0 0 if (is_infinite($n))