Branch Coverage

blib/lib/Math/BigInt/LTM.pm
Criterion Covered Total %
branch 96 250 38.4


line true false branch
77 0 0 ref $_[1] ? :
84 0 0 if ($_[2]) { }
86 0 0 ref $_[1] ? :
89 0 0 ref $_[1] ? :
97 0 0 ref $_[1] ? :
104 0 0 if ($_[2]) { }
106 0 0 ref $_[1] ? :
109 0 0 ref $_[1] ? :
117 0 0 if ($_[2]) { }
119 0 0 ref $_[1] ? :
122 0 0 ref $_[1] ? :
130 0 0 if ($_[2]) { }
132 0 0 ref $_[1] ? :
135 0 0 ref $_[1] ? :
143 0 0 if ($_[2]) { }
145 0 0 ref $_[1] ? :
148 0 0 ref $_[1] ? :
156 0 0 if ($_[2]) { }
158 0 0 ref $_[1] ? :
161 0 0 ref $_[1] ? :
171 0 0 if ($_[2]) { }
173 0 0 ref $_[1] ? :
176 0 0 ref $_[1] ? :
184 0 0 if ($_[2]) { }
186 0 0 ref $_[1] ? :
189 0 0 ref $_[1] ? :
197 0 0 if ($_[2]) { }
199 0 0 ref $_[1] ? :
202 0 0 ref $_[1] ? :
210 0 0 if ($_[2]) { }
212 0 0 ref $_[1] ? :
215 0 0 ref $_[1] ? :
223 0 0 ref $_[1] ? :
230 0 0 ref $_[1] ? :
239 0 0 if ($_[2]) { }
241 0 0 ref $_[1] ? :
244 0 0 ref $_[1] ? :
254 0 0 if ($_[2]) { }
256 0 0 ref $_[1] ? :
259 0 0 ref $_[1] ? :
267 0 0 if ($_[2]) { }
269 0 0 ref $_[1] ? :
272 0 0 ref $_[1] ? :
280 0 0 if ($_[2]) { }
282 0 0 ref $_[1] ? :
285 0 0 ref $_[1] ? :
303 0 0 ref($_[0])->_is_zero($_[0]) ? :
319 0 0 unless ref $base
321 0 0 unless $class->_acmp($base, $two) >= 0
327 0 0 unless ref $ele
333 0 0 unless ref $ele
346 0 0 unless ref $base
348 0 0 unless $class->_acmp($base, $two) >= 0
361 0 0 unless ($class->_is_zero($xcopy))
366 0 0 unless @$out
375 0 1541 unless defined $x
376 1 1540 unless ref $x
414 2 35 if ($class->_acmp($x, $two) < 0)
436 0 0 if ($class->_acmp($x, $two) < 0)
461 0 16 if ($class->_acmp($twok, $n) > 0)
476 6 10 if ($class->_is_zero($k))
516 10777 8443 if ($xs eq $ys)
517 0 10777 if ($flag) { }
522 851 9926 $class->_is_zero($za) ? :
528 2121 6322 if ($acmp == 0)
534 4795 1527 if ($acmp > 0) { }
552 6317 3662 $ys eq '+' ? :
563 0 36 if $class->_is_zero($x)
565 0 36 unless defined $base
566 1 35 unless ref $base
569 0 36 if $class->_is_zero($base) or $class->_is_one($base)
572 0 36 if ($class->_is_one($x))
579 0 36 if ($cmp == 0)
584 1 35 if ($cmp < 0)
610 10 25 if $acmp == 0
628 18 7 if $acmp == 0
636 0 0 if ref $n
640 0 0 if (wantarray)
644 0 0 if $n == 0
647 0 0 if $n == 1
661 0 0 if $n == 0
671 0 0 if ref $n
675 0 0 if (wantarray)
679 0 0 if $n == 0
682 0 0 if $n == 1
700 0 0 if $n <= 0
701 0 0 if $n <= 2
702 0 0 if exists $cache->{$n}
709 0 0 if ($n % 2 == 1) { }
730 0 9 if $class->_is_zero($x) or $class->_is_zero($y)
733 4 5 $sx eq '-' && $sy eq '-' ? :
737 6 3 if ($sx eq '-') { }
752 7 2 if ($sy eq '-') { }
772 6 3 if $sx eq "-"
773 7 2 if $sy eq "-"
775 3 6 if ($diff > 0) { }
0 6 elsif ($diff < 0) { }
792 4 5 if ($sign eq '-') { }
804 4 5 if $sign eq "-"
807 1 8 if $class->_is_zero($bx)
816 0 11 if $class->_is_zero($x) and $class->_is_zero($y)
819 7 4 $sx ne $sy ? :
823 7 4 if ($sx eq '-') { }
838 8 3 if ($sy eq '-') { }
858 7 4 if $sx eq "-"
859 8 3 if $sy eq "-"
861 3 8 if ($diff > 0) { }
1 7 elsif ($diff < 0) { }
878 7 4 if ($sign eq '-') { }
890 7 4 if $sign eq "-"
893 2 9 if $class->_is_zero($bx)
902 0 10 if $class->_is_zero($x) and $class->_is_zero($y)
905 10 0 $sx eq '-' || $sy eq '-' ? :
909 6 4 if ($sx eq '-') { }
924 7 3 if ($sy eq '-') { }
944 6 4 if $sx eq "-"
945 7 3 if $sy eq "-"
947 4 6 if ($diff > 0) { }
1 5 elsif ($diff < 0) { }
964 10 0 if ($sign eq '-') { }
976 10 0 if $sign eq "-"
979 0 10 if $class->_is_zero($bx)
1008 97 16 if ($xs eq '+') { }
1009 92 5 if ($ys eq '+') { }
1015 4 12 if ($ys eq '+') { }