Branch Coverage

blib/lib/Math/BigInt/BitVect.pm
Criterion Covered Total %
branch 97 126 76.9


line true false branch
42 0 0 $imax < 0 ? :
66 12835 58176 if $nbin > $bits
146 23820 0 if $xs != $ns
147 23820 0 if $ys != $ns
151 23820 0 if $ns != $xs
152 23820 0 if $ns != $ys
166 0 24361 if $xs != $ns
167 346 24015 if $ys != $ns
169 2736 21625 if ($z) { }
172 0 2736 if $ns != $xs
175 342 21283 if $ns != $ys
179 21625 2736 unless $z
192 22649 0 if $xs != $ns
193 22649 0 if $ys != $ns
198 22649 0 if $ns != $ys
199 22649 0 if $ns != $xs
213 495 19045 if ($xs < 0 or $xs < $ys) { }
216 322 173 wantarray ? :
220 17891 1154 if $ys < $ns
223 17891 1154 if $ys < $ns
225 573 18472 wantarray ? :
236 0 2444 if ($x->bit_test($xs - 2) & $x->bit_test(0)) { }
263 0 36 if $xs != $ns
264 2 34 if $ys != $ns
267 0 36 if $ns != $xs
281 4 49 if $xs != $ns
282 5 48 if $ys != $ns
285 4 49 if $ns != $xs
299 4 47 if $xs != $ns
300 5 46 if $ys != $ns
303 4 47 if $ns != $xs
304 4 47 if $ns != $xs
317 0 33 if $xs != $ns
318 0 33 if $ys != $ns
320 0 33 if $ys != $ns
335 347 28262 if $diff != 0
348 0 0 if $nb < 0
363 1 43 if ($class->_is_zero($x))
382 1012 23168 if $class->_is_zero($y)
386 0 23168 if $class->_is_zero($x)
403 29 14078 if ($b == 2) { }
406 14078 0 unless ref $b
415 15 9787 if ($b == 2) { }
436 10660 163023 $x->is_empty ? :
443 342 2720 if $x->Size != $bits
451 8 50 if $x->Size != $bits
459 0 0 if $x->Size != $bits
466 12 11 $_[1]->bit_test(0) ? :
472 96 100 $_[1]->bit_test(0) ? :
481 0 1830 unless defined $x
482 1 1829 if ref $x ne "Bit::Vector"
484 0 1829 if $x->Sign < 0
493 0 1829 if ($xs != $ns)
500 677 1152 $imax < 0 ? :
502 0 1829 if ($xs != $ns)
520 0 766 if $xs < $ns
521 303 463 if $ys < $ns
531 303 463 if $ys < $ns
569 34753 172577 if $bits_allocated <= $chunk
576 5765 166812 $imax < 0 ? :
579 139190 33387 if ($bits_allocated > $bits_needed)
593 3853 45267 $m > $n ? :
601 28267 382668 $ix >= $x ? :