Branch Coverage

blib/lib/Bio/CUA/CodonTable.pm
Criterion Covered Total %
branch 37 74 50.0


line true false branch
111 0 4 if ($hash->{'map_file'}) { }
4 0 elsif ($hash->{'id'}) { }
119 0 0 if $self->debug
140 0 0 unless $codon =~ /^[ATCG]{3}$/
143 0 0 if $self->_is_stop_aa($AA)
150 0 0 if ($totalCodonNum < 64)
163 0 4 unless $self->_is_valid_gc_id($id)
177 4 3752 if /^__END__/
178 2688 1068 unless $inDataSection
179 4 1064 if /^<
180 4 1060 if /^>>GC/
181 328 736 if /^>/ or /^--/
191 0 4 unless $table =~ /^ *id\s+$id\s*,/m
214 0 4 unless length $b1 == 64
216 0 4 unless length $b1 == length $b2 and length $b1 == length $b3 and length $b1 == length $AAs and length $b1 == length $starts
234 12 244 if $self->_is_stop_aa($AA)
235 12 244 unless $start eq '-'
295 4 0 if $validGCIds{$id}
304 36 732 if $AA eq $STOPAA
324 0 0 unless $codon =~ /^[ATCGU]{3}$/
327 0 0 unless exists $codons->{$codon}
346 0 0 unless my $codonToAA = $self->{'_codon_to_aa'}
362 0 0 wantarray ? :
383 27 1 wantarray ? :
401 0 8 unless my $codonToAA = $self->{'_codon_to_aa'}
406 24 488 if $self->_is_stop_aa($v)
411 8 0 wantarray ? :
428 0 0 unless exists $self->{'_start_codons'}
430 0 0 wantarray ? :
446 0 0 wantarray ? :
464 0 160 if length $AA > 1
470 160 0 wantarray ? :
516 0 0 unless $self->is_valid_codon($codon)
518 0 0 exists $codonToAA->{$codon} ? :
541 6 122 if $stopCodons->{$codon}
583 51 2 if exists $self->{'_codon_deg'}
591 6 122 if $self->is_stop_codon($codon)