Branch Coverage

blib/lib/FASTX/sw.pm
Criterion Covered Total %
branch 27 40 67.5


line true false branch
44 0 2 unless $src and $tgt
90 2 0 if defined $align->[0]
91 2 0 if defined $align->[0]
95 488 1 if (defined $t) { }
96 0 488 $t - $last > 1 ? :
107 2 0 if length $ps > length $pt
108 2 0 unless length $ps > length $pt
110 488 331 uc substr($ps, $_, 1) eq uc substr($pt, $_, 1) ? :
146 0 0 if $seq[$i] ne "-"
158 0 0 wantarray ? :
184 109063 305393 $t eq $s ? :
0 414456 $t eq $wildcard || $s eq $wildcard ? :
188 131918 282538 $row[$#row][1] == 2 ? :
192 197325 217131 $$scores[$col + 1][1] == 1 ? :
196 197837 216619 if ($gap_src >= $gap_tgt and $gap_src >= $extend) { }
132393 84226 elsif ($gap_tgt >= $extend) { }
208 706 413750 if $score->[0] >= $max_score
234 488 1 if $score->[1] == 0
235 0 1 if $score->[1] == 2
236 1 0 if $score->[1] == 1