Branch Coverage

blib/lib/Bio/Coordinate/Collection.pm
Criterion Covered Total %
branch 28 52 53.8


line true false branch
35 0 35 if $in
36 0 35 if $out
37 0 35 if $mappers
38 1 34 if $return_match
46 0 199 unless defined $value and $value->isa('Bio::Coordinate::MapperI')
50 0 199 unless $value->test
63 0 0 if (@args)
64 0 0 if (@args == 1 and ref $args[0] eq 'ARRAY')
67 0 0 unless defined $args[0] and $args[0]->isa('Bio::Coordinate::MapperI')
84 0 1 unless $self->{'_mappers'}
91 8 11 unless $self->_is_sorted
105 0 0 unless ($mapper->test)
119 0 23 unless defined $value
121 0 23 unless $value->isa('Bio::LocationI')
123 0 23 unless $self->each_mapper
126 8 15 unless $self->_is_sorted
128 3 20 if ($value->isa('Bio::Location::SplitLocationI')) { }
156 0 25 if defined $value->seq_id and not $self->{'_in_ids'}{$value->seq_id}
161 100 67 if defined $value->seq_id and $value->seq_id ne $pair->in->seq_id
164 18 49 if $pair->in->end < $value->start
166 13 36 if $pair->in->start > $value->end
173 25 0 if $result->match
174 0 25 unless ($result->each_Location)
181 0 0 if defined $value->seq_id
183 0 0 if defined $value->seq_id
213 17 241 if defined $value and $value