Branch Coverage

Bio/Map/Marker.pm
Criterion Covered Total %
branch 42 60 70.0


line true false branch
165 39 2 if ($name) { }
168 0 41 if $map
169 0 41 if $default_map
170 34 7 if $position
171 0 41 if $positions
188 42 53 if (defined $map)
189 0 42 unless $map->isa('Bio::Map::MapI')
226 7 1 if ($value)
227 0 7 unless ref $value eq ''
231 8 0 if $map
232 8 0 if defined $value
257 43 40 if ($pos)
263 0 83 if scalar @positions > 1
284 0 49 unless defined $pos
288 48 1 if (ref $pos)
289 1 47 if (ref $pos eq 'ARRAY')
291 0 1 unless ($pos and $pos_actual and ref $pos)
296 37 11 if ($pos->isa('Bio::Map::PositionI')) { }
11 0 elsif ($pos->isa('Bio::Map::MapI')) { }
298 33 4 unless $map
299 37 0 if $pos_map
302 6 5 unless $map
311 0 49 unless $map
313 37 12 if (ref $pos and $pos->isa('Bio::Map::PositionI')) { }
314 0 37 unless $pos_map
336 4 0 if (ref $arg eq 'ARRAY') { }
357 0 2 unless defined $query
359 1 1 if (ref $query eq '') { }
362 1 0 if ($uid)
363 1 0 if $uid eq $query