Branch Coverage

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


line true false branch
137 0 3265 if (defined($map) + defined($element) + defined($position) > 1)
141 2517 748 if defined $map
142 1 3264 if $element
143 4 3261 if $position
144 3255 10 if $desc
162 0 2127 unless ref $pos
163 0 2127 unless $pos->isa('Bio::Map::PositionI')
167 28 2099 if $prior_abs
169 28 2099 if $prior_abs
170 0 2127 unless defined $raw
175 0 2127 unless $type and defined $value
179 483 1644 if ($type eq 'element')
180 0 483 unless $map
183 0 483 unless $value
185 540 1587 if (ref $value)
191 2127 0 if (defined $value)
233 2517 2593 if (defined $num)
234 0 2517 unless &looks_like_number($num)
238 5110 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 3255 2 if (@_)