Branch Coverage

blib/lib/Bio/GeneDesign/Basic.pm
Criterion Covered Total %
branch 37 54 68.5


line true false branch
144 0 20001 if $swit ne 'nuc' and $swit ne 'pep'
151 100199 0 if ($swit eq 'nuc' and exists $NTIDES{$CH} or $swit eq 'pep' and exists $AACIDS{$CH}) { }
240 0 0 if ($GCperc < $min)
244 0 0 if ($GCperc > $max)
279 1 2 if ($len < 14) { }
2 0 elsif ($len >= 14 and $len <= 50) { }
0 0 elsif ($len > 50) { }
337 1189 1 if $swit
372 6505 24 if ($swit == 1) { }
24 0 elsif ($swit == 2) { }
375 0 6505 unless $ntide
381 0 24 unless $aa
397 202 571 if ($comp ne $sequence)
431 0 0 if (_is_ambiguous($pattern))
453 1 4 if $sequence =~ /$ambnt/
470 0 433 if not $botseq or length $botseq != length $topseq
475 814 1690 if ($topbit ne $botbit)
477 340 474 $topbit =~ /$REGHSH{'R'}/ ? :
478 364 450 $botbit =~ /$REGHSH{'R'}/ ? :
479 314 500 if $topbit == $botbit
480 500 314 if $topbit != $botbit
508 44 3 if ($possibilities == 1) { }
510 10 34 if $offset == 0
511 34 10 if $offset > 0
515 0 3 if $offset == 0
516 3 0 if $offset > 0
518 37 10 unless ($offset == 0)