Branch Coverage

Bio/Map/PositionHandler.pm
Criterion Covered Total %
branch 36 52 69.2


line true false branch
131 0 329 unless $you
132 0 329 unless ref $you
133 0 329 unless $you->isa('Bio::Map::EntityI')
153 0 329 if $you->get_position_handler->index
244 0 101 unless @_ > 0
274 1330 285 if ($entity)
302 75 45 if ($thing) { }
303 0 75 unless ref $thing
304 74 1 if ($thing->isa('Bio::Map::PositionI')) { }
337 340 41 $kind eq 'position_elements' ? :
342 1682 4 if $entity_index
351 0 385 unless $object
352 0 385 unless ref $object
353 0 385 unless $object->isa($interface)
361 3657 2217 if ($should_be_pos) { }
362 0 3657 unless $you->isa('Bio::Map::PositionI')
365 0 2217 if $you->isa('Bio::Map::PositionI')
373 0 1790 unless ref $entity
375 0 1790 unless $index
376 0 1790 unless $entity eq $self->get_entity($index)
384 487 0 $you->isa('Bio::Map::MappableI') ? :
115 487 $you->isa('Bio::Map::MapI') ? :
393 247 3410 if ($entity)
400 3656 1 if ($entity_index)
411 19 366 if ($current_entity_index)
412 0 19 if ($current_entity_index == $new_entity_index)