Branch Coverage

Bio/Variation/AAReverseMutate.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
117 1 0 if $aa_ori
118 1 0 if $aa_mut
119 0 1 if $codon_ori
120 0 1 if $codon_table
147 1 5 if (defined $value)
148 0 1 if (not uc($value) =~ /^[ARNDCQEGHILKMFPSTWYVBZX*]$/) { }
176 1 6 if (defined $value)
177 0 1 if (not uc($value) =~ /^[ARNDCQEGHILKMFPSTWYVBZX*]$/) { }
205 1 6 if (defined $value)
206 0 1 if (length $value != 3 or lc $value =~ /[^atgc]/)
232 2 4 if (defined $value)
233 0 2 if (not $value =~ /^\d+$/) { }
240 2 4 if (not exists $self->{'codon_table'}) { }
265 0 2 unless defined $self->aa_ori
266 0 2 unless defined $self->aa_mut
271 1 3 if $self->codon_ori and $self->codon_ori ne $codon_ori
279 36 18 if ($nt_ori ne $nt_mut)
287 3 15 if ($length == 1)