Branch Coverage

Bio/Map/Relative.pm
Criterion Covered Total %
branch 38 52 73.0


line true false branch
137 0 3241 if (defined($map) + defined($element) + defined($position) > 1)
141 2514 727 if defined $map
142 1 3240 if $element
143 4 3237 if $position
144 3231 10 if $desc
162 0 2124 unless ref $pos
163 0 2124 unless $pos->isa('Bio::Map::PositionI')
167 28 2096 if $prior_abs
169 28 2096 if $prior_abs
170 0 2124 unless defined $raw
175 0 2124 unless $type and defined $value
179 483 1641 if ($type eq 'element')
180 0 483 unless $map
183 0 483 unless $value
185 540 1584 if (ref $value)
191 2124 0 if (defined $value)
233 2514 2590 if (defined $num)
234 0 2514 unless &looks_like_number($num)
238 5104 0 defined $self->{'_map'} ? :
257 1 1219 if ($element)
258 0 1 unless ref $element
259 0 1 unless $element->isa('Bio::Map::MappableI')
282 4 75 if ($pos)
283 0 4 unless ref $pos
284 0 4 unless $pos->isa('Bio::Map::PositionI')
305 3231 2 if (@_)