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 1316 285 if ($entity)
302 75 45 if ($thing) { }
303 0 75 unless ref $thing
304 74 1 if ($thing->isa('Bio::Map::PositionI')) { }
337 337 41 $kind eq 'position_elements' ? :
342 1658 4 if $entity_index
351 0 385 unless $object
352 0 385 unless ref $object
353 0 385 unless $object->isa($interface)
361 3647 2200 if ($should_be_pos) { }
362 0 3647 unless $you->isa('Bio::Map::PositionI')
365 0 2200 if $you->isa('Bio::Map::PositionI')
373 0 1776 unless ref $entity
375 0 1776 unless $index
376 0 1776 unless $entity eq $self->get_entity($index)
384 484 0 $you->isa('Bio::Map::MappableI') ? :
115 484 $you->isa('Bio::Map::MapI') ? :
393 247 3400 if ($entity)
400 3646 1 if ($entity_index)
411 19 366 if ($current_entity_index)
412 0 19 if ($current_entity_index == $new_entity_index)