Branch Coverage

blib/lib/Bio/Coordinate/Pair.pm
Criterion Covered Total %
branch 40 54 74.0


line true false branch
29 245 0 if $in
30 245 0 if $out
37 245 1937 if (defined $value)
38 0 245 unless $value->isa('Bio::LocationI')
48 245 2117 if (defined $value)
49 0 245 unless $value->isa('Bio::LocationI')
66 0 220 unless $self->out
68 0 220 unless $self->in
77 0 208 unless $self->out
79 0 208 unless $self->in
88 0 73 unless defined $value
90 0 73 unless $value->isa('Bio::LocationI')
92 0 73 unless $self->in
94 0 73 unless $self->out
97 2 71 if ($value->isa('Bio::Location::SplitLocationI')) { }
127 29 46 if ($start >= $self->out->start and $end <= $self->out->end) { }
6 40 elsif ($end < $self->out->start or $start > $self->out->end or $value->location_type eq 'IN-BETWEEN' and ($end = $self->out->start) || ($start = $self->out->end)) { }
13 27 elsif ($start < $self->out->start and $end <= $self->out->end) { }
21 6 elsif ($start >= $self->out->start and $end > $self->out->end) { }
6 0 elsif ($start < $self->out->start and $end > $self->out->end) { }
132 19 10 if ($self->strand >= 0) { }
139 27 2 if ($value->strand)
169 10 3 if ($value->strand)
185 12 1 if ($self->strand >= 0) { }
202 18 3 if ($value->strand)
206 15 6 if ($self->strand >= 0) { }
231 6 0 if ($value->strand)