Branch Coverage

blib/lib/Bio/CUA/CodonTable.pm
Criterion Covered Total %
branch 37 70 52.8


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 3612 if /^__END__/
178 2548 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}
349 27 1 wantarray ? :
366 0 8 unless my $codonToAA = $$self{'_codon_to_aa'}
371 24 488 if $self->_is_stop_aa($v)
376 8 0 wantarray ? :
392 0 0 unless exists $$self{'_start_codons'}
395 0 0 wantarray ? :
411 0 0 wantarray ? :
429 0 160 if length $AA > 1
435 160 0 wantarray ? :
481 0 0 unless $self->is_valid_codon($codon)
483 0 0 exists $$codonToAA{$codon} ? :
506 6 122 if $$stopCodons{$codon}
548 51 2 if exists $$self{'_codon_deg'}
556 6 122 if $self->is_stop_codon($codon)