Branch Coverage

Bio/SearchIO/wise.pm
Criterion Covered Total %
branch 28 52 53.8


line true false branch
143 1 2 if ($a =~ /FILE|FH/i)
157 0 1 if ($fh) { }
1 0 elsif ($file) { }
163 1 0 if ($wisetype =~ /genewise/i) { }
0 0 elsif ($wisetype =~ /genomewise/i) { }
189 0 1 unless $self->wise
191 0 1 unless $prediction
205 1 0 if ($exons[0]->has_tag('supporting_feature'))
215 0 18 if ($exon->strand < 0) { }
228 18 0 if ($exon->has_tag('supporting_feature'))
231 0 18 if ($protein->strand < 0) { }
272 20 130 if ($type)
273 20 0 if ($self->_eventHandler->will_handle($type))
279 1 19 if ($type eq 'result')
304 20 130 if ($type = $Bio::SearchIO::wise::MODEMAP{$nm}) { }
130 0 elsif ($Bio::SearchIO::wise::MAPPING{$nm}) { }
305 20 0 if ($self->_eventHandler->will_handle($type))
314 0 130 if (ref($Bio::SearchIO::wise::MAPPING{$nm}) =~ /hash/i) { }
325 1 149 if defined $type and $type eq 'result'
361 0 130 unless defined $data->{'Data'} and not $data->{'Data'} =~ /^\s+$/
383 0 0 if not defined $name || defined $self->{'_elements'} or scalar @{$self->{'_elements'};} == 0
385 0 0 if ($_ eq $name)
408 0 0 unless defined $self->{'_elements'}[0]
453 0 0 unless (defined $self->writer)
481 1 23 if @_
499 1 2 if @_