Branch Coverage

blib/lib/Bio/Translator/Table.pm
Criterion Covered Total %
branch 36 44 81.8


line true false branch
155 7 0 $p{'type'} eq 'id' ? :
162 7 0 if ($_ =~ /$match/)
172 7 0 if $found
241 0 8 unless ref $table_ref
255 0 8 unless my($names, $id, $residues, $starts, @bases) = $$table_ref =~ /$TABLE_REGEX/
295 231 591 $Bio::Translator::Table::degenerate2nucleotides{$base} ? :
84 738 $Bio::Translator::Table::degenerate_hierarchy{$base} ? :
310 1667 49 if ($residue ne 'X')
316 52 1664 if ($start ne '-')
326 1 7 if $p{'bootstrap'}
377 131 0 $p{'strand'} == 1 ? :
383 4 127 $p{'start'} ? :
389 4 127 if $p{'start'}
432 14426 41745 if $$table{$codon}
435 9620 32125 unless $codon =~ /($Bio::Translator::Table::degenerate_match)/
451 25626 14161 unless defined $residue
454 7129 7032 unless $consensus
460 6466 7695 if ($residue ne $consensus)
461 98 6368 if (defined $Bio::Translator::Table::ambiguous_forward{$residue} and defined $Bio::Translator::Table::ambiguous_forward{$consensus} and $Bio::Translator::Table::ambiguous_forward{$residue} eq $Bio::Translator::Table::ambiguous_forward{$consensus}) { }
506 1 0 if $bootstrap
548 3 21 if $Bio::Translator::Table::ambiguous_map{$aa}
556 0 3 unless my $group = $aa2codons{$aa}