Branch Coverage

Bio/Map/Mappable.pm
Criterion Covered Total %
branch 69 92 75.0


line true false branch
112 39 75 if $name
113 0 114 if $id
132 82 3 if (@_)
150 0 0 if (@_)
166 0 332 unless $query_map
167 0 332 unless ref $query_map
168 0 332 unless $query_map->isa('Bio::Map::MapI')
171 332 181 if $map eq $query_map
460 0 31 unless ref $input
461 0 31 unless @extra_args % 2 == 0
462 10 21 ref $input eq 'ARRAY' ? :
473 3 28 if ($args{-'min_mappables_percent'})
474 2 1 ref $self ? :
475 2 1 if ($mn > $min_pables_num)
480 1 30 if ($args{-'min_map_percent'})
482 0 1 ref $self ? :
488 1 0 if ($mn > $min_map_num)
492 1 30 $args{-'required'} ? :
495 30 1 if (ref $self)
497 1 29 if ($args{-'require_self'})
498 0 1 unless @mine > 0
505 0 59 if ($compare->isa('Bio::Map::PositionI')) { }
59 0 elsif ($compare->isa('Bio::Map::MappableI')) { }
515 0 31 unless @yours > 0
519 14 17 if (/equals|overlaps|contains/)
520 0 14 unless @mine > 0
523 8 6 if ($my_pos->$method($your_pos, undef, $rel))
531 7 10 if (/less_than|greater_than/)
532 0 7 unless @mine > 0
533 4 3 if ($method eq 'greater_than')
546 4 3 if ($my_pos->$method($test_pos, $rel)) { }
554 4 3 if ($method eq 'greater_than')
563 10 0 if (/overlapping_groups|intersection|union/)
580 10 20 if $done_ranges{$range_string}
584 55 55 if ($pos->overlaps($range, undef, $rel))
609 1 19 unless @group >= $min_pos_num
610 4 15 unless @group >= $min_pables_num
611 1 14 unless @group >= $min_map_num
618 0 14 unless keys %mappables >= $min_pables_num
625 0 14 unless keys %maps >= $min_map_num
628 2 2 unless exists $mappables{$required}
638 7 3 if ($method eq 'overlapping_groups') { }
645 0 3 if (not @{$group;}) { }
653 2 1 $method eq 'intersection' ? :
661 3 0 if @ok
707 0 0 if (@_)