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 12896 57325 if $nbin > $bits
146 23717 0 if $xs != $ns
147 23717 0 if $ys != $ns
151 23717 0 if $ns != $xs
152 23717 0 if $ns != $ys
166 0 24152 if $xs != $ns
167 346 23806 if $ys != $ns
169 2632 21520 if ($z) { }
172 0 2632 if $ns != $xs
175 342 21178 if $ns != $ys
179 21520 2632 unless $z
192 22582 0 if $xs != $ns
193 22582 0 if $ys != $ns
198 22582 0 if $ns != $ys
199 22582 0 if $ns != $xs
213 498 18833 if ($xs < 0 or $xs < $ys) { }
216 324 174 wantarray ? :
220 17795 1038 if $ys < $ns
223 17795 1038 if $ys < $ns
225 571 18262 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 405 28092 if $diff != 0
348 0 0 if $nb < 0
363 1 43 if ($class->_is_zero($x))
382 1050 22958 if $class->_is_zero($y)
386 0 22958 if $class->_is_zero($x)
403 29 13973 if ($b == 2) { }
406 13973 0 unless ref $b
415 15 9721 if ($b == 2) { }
436 10246 161322 $x->is_empty ? :
443 342 2616 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 34435 171782 if $bits_allocated <= $chunk
576 5800 165982 $imax < 0 ? :
579 138435 33347 if ($bits_allocated > $bits_needed)
593 3855 44953 $m > $n ? :
601 28001 379970 $ix >= $x ? :