Branch Coverage

Bio/Seq/LargeLocatableSeq.pm
Criterion Covered Total %
branch 25 56 44.6


line true false branch
121 1 7 if ($seq)
126 0 8 exists $params{'-mapping'} ? :
132 8 0 if $tfh
133 8 0 if $file
135 1 7 if $seq
155 24 122 if (defined $value)
159 146 0 defined $obj->{'length'} ? :
176 1 49 if (defined $data)
177 1 0 if ($self->length == 0) { }
204 0 50 if (ref $start and $start->isa('Bio::LocationI'))
206 0 0 if ($loc->length == 0) { }
0 0 elsif ($loc->end < $loc->start) { }
214 0 0 if ($loc->isa('Bio::Location::SplitLocationI')) { }
216 0 0 unless (seek $fh, $subloc->start - 1, 0)
220 0 0 unless (defined $ret)
223 0 0 if ($subloc->strand < 0)
230 0 0 unless (seek $fh, $loc->start - 1, 0)
235 0 0 unless (defined $ret)
241 0 0 if (defined $loc->strand and $loc->strand < 0)
248 0 50 if ($start <= 0 or $end > $self->length)
252 0 50 if ($end < $start)
256 0 50 unless (seek $fh, $start - 1, 0)
260 0 50 unless (defined $ret)
283 0 8 unless (seek $fh, 0, 2)
305 16 44 if (defined $value)
327 0 0 if (defined $value)
337 8 2 if defined $fh
339 8 2 if defined $self->_filename and -e $self->_filename