Branch Coverage

Bio/SearchIO/rnamotif.pm
Criterion Covered Total %
branch 82 138 59.4


line true false branch
188 1 0 if $model
189 1 0 if $database
190 1 0 if $accession
193 0 1 if defined $mincutoff and defined $maxcutoff
195 0 1 if defined $mincutoff
196 0 1 if defined $maxcutoff
234 0 199 if $line =~ /^\s+$/
235 3 196 if (index($line, '#RM') == 0) { }
98 98 elsif ($line =~ s/^>//) { }
98 0 elsif ($line =~ /^(\S+)\s+(.+?)\s+(\d+)\s+(\d+)\s+(\d+)\s(.*)$/mx) { }
236 1 2 if (index($line, '#RM scored') == 0) { }
1 1 elsif (index($line, '#RM descr') == 0) { }
1 0 elsif (index($line, '#RM dfile') == 0) { }
237 0 1 if ($seentop)
274 27 71 if ($self->within_element('hit') and $hitid ne $lastid) { }
1 70 elsif (not $self->within_element('hit')) { }
275 0 27 if $lastscore
286 98 0 $acc ? :
0 98 $ver ? :
300 0 98 unless ($hitid eq $hspid)
304 1 97 unless (defined $sprintf)
305 0 1 if ($score =~ /[^0-9.-]+/gmsx) { }
306 0 0 if (defined $hsp_min or defined $hsp_max)
316 98 0 unless ($sprintf)
317 0 98 if ($hsp_min and $score <= $hsp_min or $hsp_max and $score >= $hsp_max) { }
325 0 98 if (defined $hsp_min and $score > $hsp_min) { }
0 196 elsif (defined $hsp_max and $score < $hsp_max) { }
326 0 0 if not $lastscore or $score > $lastscore
328 0 0 if not $lastscore or $score < $lastscore
334 98 0 if ($oktobuild)
337 98 0 if ($strand == 0) { }
347 0 98 $sprintf ? :
0 98 $sprintf ? :
360 98 0 unless $sprintf
364 1 0 if ($self->within_element('hit'))
365 0 1 if $lastscore
371 1 0 if ($seentop)
394 127 0 if ($type)
395 127 0 if ($self->_eventHandler->will_handle($type))
401 1 126 if (defined $type and $type eq 'result')
426 127 2 if ($type) { }
2 0 elsif ($MAPPING{$nm}) { }
427 127 0 if ($self->_eventHandler->will_handle($type))
435 0 2 if (ref($MAPPING{$nm}) =~ /hash/i) { }
449 1 128 if defined $type and $type eq 'result'
487 0 197 unless $data and ref $data
489 0 1376 if $data->{$nm} and $data->{$nm} =~ /^\s*$/o
490 1376 0 if ($MAPPING{$nm})
491 0 1376 if (ref($MAPPING{$nm}) =~ /hash/i) { }
516 0 2 unless defined $data->{'Data'} and not $data->{'Data'} =~ /^\s+$/o
537 0 170 if not defined $name && defined $self->{'_elements'} or scalar @{$self->{'_elements'};} == 0
539 168 2 if $_ eq $name
558 0 0 unless defined $self->{'_elements'}[0]
624 1 1 if @_
655 1 1 if @_
672 1 1 if @_
688 1 1 if @_
705 0 1 if $score and not $score =~ /[0-9.]+/
707 0 1 if @_
724 0 1 if $score and not $score =~ /[0-9.]+/
726 0 1 if @_
746 1 98 if ($delim)
747 1 0 if (ref($delim) =~ /HASH/) { }
750 4 0 if (exists $data{$d})
784 0 98 if ($#desc_el != $#seq_el)
794 0 0 index($motif, 'ctx') == 0 ? :
686 0 index($motif, 'ss') == 0 ? :
392 686 index($motif, 'h3') == 0 ? :
392 1078 index($motif, 'h5') == 0 ? :