Branch Coverage

Bio/SearchIO/erpin.pm
Criterion Covered Total %
branch 64 86 74.4


line true false branch
189 1 0 if $accession
220 3 13 if $line =~ /^\s*$/
221 1 12 if ($line =~ /^Training\sset:\s+"(.*)"/mosx) { }
2 10 elsif ($line =~ /^>(\S+)\s+(.*)/mosx) { }
4 6 elsif (index($line, 'FW') == 0 or index($line, 'RC') == 0) { }
222 0 1 if ($seentop)
237 2 7 if $line =~ /^\s*$/
238 1 6 if (index($line, '>') == 0 or index($line, '-------- at level 1 --------') == 0)
243 1 5 if ($line =~ /^\s+(\d+\ssequences\sof\slength\s\d+)/mosx) { }
1 4 elsif ($line =~ /^Cutoff:\s+(\S+)/mosx) { }
1 3 elsif ($line =~ /^Database:\s+"(.*)"/mosx) { }
0 3 elsif ($line =~ /^\s+(\d+)\snucleotides\sto\sbe\sprocessed\sin\s(\d+)\ssequences/mosx) { }
1 2 elsif ($line =~ /^E-value\sat\scutoff\s\S+\sfor\s\S+\sdouble\sstrand\sdata:\s+(\S+)/mosx) { }
1 1 elsif ($line =~ /^\s+(ATGC\sratios:\s+(?:\S+\s+\S+\s+\S+\s+\S+))/) { }
280 1 1 if (not $lasthit or $id ne $lasthit)
281 0 1 if ($self->within_element('hit'))
292 0 0 $acc ? :
1 0 $ver ? :
303 4 0 if ($minscore < $score)
307 3 1 if $str eq 'RC'
323 2 2 if not $lastscore or $lastscore < $score
324 2 2 if not $lasteval or $lasteval > $eval
330 1 0 if ($seentop)
331 1 0 if ($self->within_element('hit'))
360 6 0 if ($type)
361 6 0 if ($self->_eventHandler->will_handle($type))
367 1 5 if (defined $type and $type eq 'result')
392 6 5 if ($type) { }
5 0 elsif ($MAPPING{$nm}) { }
393 6 0 if ($self->_eventHandler->will_handle($type))
401 3 2 if (ref($MAPPING{$nm}) =~ /hash/i) { }
415 1 10 if defined $type and $type eq 'result'
452 0 7 unless $data and ref $data
454 0 51 if $data->{$nm} and $data->{$nm} =~ /^\s*$/o
455 51 0 if ($MAPPING{$nm})
456 0 51 if (ref($MAPPING{$nm}) =~ /hash/i) { }
481 0 5 unless defined $data->{'Data'} and not $data->{'Data'} =~ /^\s+$/o
502 0 2 if not defined $name && defined $self->{'_elements'} or scalar @{$self->{'_elements'};} == 0
504 1 1 if $_ eq $name
523 0 0 unless defined $self->{'_elements'}[0]
588 1 1 if @_
604 1 1 if @_
620 1 1 if @_