Branch Coverage

lib/Bio/SAGE/Comparison.pm
Criterion Covered Total %
branch 39 98 39.8


line true false branch
225 0 5 unless (defined $x)
227 0 5 if (not ref $x and ref $x eq $PACKAGE)
240 5 0 if ($bSign >= 1)
244 2 3 if ($ratio1 > $ratio2)
245 3 2 if ($ratio1 < $ratio2)
246 2 3 $thisproba < $thisproba2 ? :
249 0 0 $thisproba < $thisproba2 ? :
350 2 7 if ($tagLength == -1) { }
353 0 7 if ($tagLength != $len)
440 2 0 if (not ref $label) { }
444 0 0 if ($type eq 'SCALAR') { }
0 0 elsif ($type eq 'ARRAY') { }
455 2 0 if (scalar @labels == 1)
456 0 2 unless (defined $$this{'totals'}{$labels[0]})
464 0 0 unless (defined $$this{'totals'}{$id})
514 0 0 if (not ref $label) { }
518 0 0 if ($type eq 'SCALAR') { }
0 0 elsif ($type eq 'ARRAY') { }
529 0 0 if (scalar @labels == 1)
530 0 0 unless (defined $$this{'libraries'}{$labels[0]})
538 0 0 unless (defined $$this{'libraries'}{$id})
610 1 0 if (not ref $pX) { }
614 0 0 if ($type eq 'SCALAR') { }
0 0 elsif ($type eq 'ARRAY') { }
624 1 0 if (not ref $pY) { }
628 0 0 if ($type eq 'SCALAR') { }
0 0 elsif ($type eq 'ARRAY') { }
642 0 1 unless (defined $$this{'libraries'}{$label})
646 1 0 if ($tag_length == -1)
647 0 0 if ($tag_length != $len)
649 0 0 $tag_length < $len ? :
653 0 1 unless (defined $$this{'libraries'}{$label})
657 0 1 if ($tag_length == -1)
658 0 1 if ($tag_length != $len)
660 0 0 $tag_length < $len ? :
668 0 1 if ($len != $tag_length) { }
677 0 1 if ($len != $tag_length) { }
719 0 5 if (defined $SIGCACHE{$x . '-' . $y}) { }
821 0 10 if ($x < 0 or $x > 1)
827 0 10 if ($x == 0 or $x == 1) { }
833 5 5 if ($x < ($a + 1) / ($a + $b + 2))
843 50 480 $x < 0 ? :
858 0 10 if (__fabs($d) < $FPMIN)
868 0 104 if (__fabs($d) < $FPMIN)
871 0 104 if (__fabs($c) < $FPMIN)
880 0 104 if (__fabs($d) < $FPMIN)
883 0 104 if (__fabs($c) < $FPMIN)
889 10 94 if (__fabs($del - 1) < $EPS)
892 0 10 if ($m > $MAXIT)