Branch Coverage

blib/lib/BioX/Seq.pm
Criterion Covered Total %
branch 45 46 97.8


line true false branch
101 1 131 if (defined $seq and defined $qual and length $seq != length $qual)
119 3 26 if defined $new_val
127 1 8 if defined $new_val
135 1 8 if defined $new_val
143 2 8 if defined $new_val
151 2 2 if ($start < 1 or $end > length $self->{'seq'})
157 1 1 defined $self->{'qual'} ? :
174 1 3 unless (defined $self->{'id'})
179 2 1 if defined $self->{'desc'}
193 1 5 unless (defined $self->{'id'})
198 2 3 if defined $self->{'desc'}
204 3 2 if (defined $self->{'qual'}) { }
1 1 elsif (not defined $qual) { }
205 1 2 if (length $self->{'qual'} != length $self->{'seq'})
217 1 2 defined $qual ? :
227 0 2 unless defined $self->{'_input_format'}
239 1 6 unless (_is_nucleic($seq))
249 1 5 if defined $qual
252 1 5 unless (defined wantarray)
275 2 4 if $frame < 0 or $frame > 5
278 1 3 $frame > 2 ? :
281 2 2 unless (_is_nucleic($seq))
290 1 1 unless (defined wantarray)