Branch Coverage

blib/lib/Bio/Translator/Utils.pm
Criterion Covered Total %
branch 42 52 80.7


line true false branch
105 10 9 $p{'strand'} == 1 ? :
108 0 19 if ($residue eq 'stop') { }
2 17 elsif ($residue eq 'start') { }
2 15 elsif ($residue eq 'lower') { }
2 13 elsif ($residue eq 'upper') { }
113 1 1 $rc ? :
114 1 1 $rc ? :
168 14 9 $p{'strand'} == 1 ? :
172 7 16 if (defined $regex)
219 0 6 unless ref $seq_ref
325 1 0 $p{'strand'} == 0 ? :
341 0 0 $strand == 1 ? :
344 0 0 if $cur_upper > $upper
440 1 0 $p{'strand'} == 0 ? :
451 1 1 $strand == 1 && $p{'strict'} != 0 || $strand == -1 && $p{'strict'} == 2 ? :
464 0 20 if $position > $upper
476 7 13 if ($1) { }
477 6 1 if ($strand == -1 or not defined $lowers[$frame])
497 0 13 if $position > $upper
508 1 1 if $p{'strict'} == 2 or $strand == -1 and $p{'strict'} != 0
529 10 6 unless defined $$lowers[$frame]
535 3 3 if $strand == 1
542 5 7 if $$longest[1] - $$longest[0] < $$current[1] - $$current[0]
583 1 2 $p{'strand'} == 0 ? :
588 6 6 $strand == 1 ? :
594 8 4 unless $$seq_ref =~ /$regex/