Branch Coverage

Bio/Seq/LargePrimarySeq.pm
Criterion Covered Total %
branch 40 56 71.4


line true false branch
98 10 12 if ($seq)
107 22 0 if $tfh
108 22 0 if $file
110 10 12 if $seq
130 5649 8536 if (defined $value)
133 14185 0 defined $obj->{'length'} ? :
150 11 18 if (defined $data)
151 11 0 if ($self->length == 0) { }
177 3 2856 if (ref $start and $start->isa('Bio::LocationI'))
179 0 3 if ($loc->length == 0) { }
0 3 elsif ($loc->end < $loc->start) { }
187 1 2 if ($loc->isa('Bio::Location::SplitLocationI')) { }
189 0 2 unless (seek $fh, $subloc->start - 1, 0)
193 0 2 unless (defined $ret)
196 1 1 if ($subloc->strand < 0)
202 0 2 unless (seek $fh, $loc->start - 1, 0)
207 0 2 unless (defined $ret)
213 0 3 if (defined $loc->strand and $loc->strand < 0)
219 0 2856 if ($start <= 0 or $end > $self->length)
223 0 2856 if ($end < $start)
227 0 2856 unless (seek $fh, $start - 1, 0)
231 0 2856 unless (defined $ret)
253 0 5635 unless (seek $fh, 0, 2)
275 14 45 if (defined $value)
297 14 15 if (defined $value)
307 22 5 if defined $fh
309 14 13 if defined $self->_filename and -e $self->_filename
311 22 5 if defined $self->{'tempdir'} and -e $self->{'tempdir'}