Branch Coverage

blib/lib/GenOO/Region.pm
Criterion Covered Total %
branch 36 46 78.2


line true false branch
74 1 4 unless defined $self->strand
76 3 1 if ($self->strand == 1) { }
1 0 elsif ($self->strand == -1) { }
88 22 22 if ($self->strand == 1) { }
22 0 elsif ($self->strand == -1) { }
102 18 18 if ($self->strand == 1) { }
18 0 elsif ($self->strand == -1) { }
122 2 8 if $self->rname ne $from_locus->rname
129 2 8 if $self->rname ne $from_locus->rname
136 0 0 if $self->rname ne $from_locus->rname
143 0 0 if $self->rname ne $from_locus->rname
150 2 8 if $self->rname ne $from_locus->rname
157 2 8 if $self->rname ne $from_locus->rname
164 0 0 if $self->rname ne $from_locus->rname
171 2 8 if $self->rname ne $from_locus->rname
178 2 8 if $self->rname ne $from_locus->rname
194 10 12 if ($use_strand == 0 || $self->strand == $region2->strand and $self->rname eq $region2->rname and $self->start - $offset <= $region2->stop and $region2->start <= $self->stop + $offset) { }
207 223 9 if ($use_strand == 0 || $self->strand == $region2->strand and $self->rname eq $region2->rname and $self->start <= $region2->stop and $region2->start <= $self->stop) { }
218 4 4 if ($self->overlaps($region2)) { }
219 2 2 $self->start > $region2->start ? :
220 0 4 $self->stop < $region2->stop ? :
233 4 8 if ($use_strand == 0 || $self->strand == $region2->strand and $self->rname eq $region2->rname and $self->start <= $region2->start and $region2->stop <= $self->stop) { }
244 7 15 if ($self->start <= $position and $position <= $self->stop) { }