Branch Coverage

Bio/Search/HSP/BlastPullHSP.pm
Criterion Covered Total %
branch 55 68 80.8


line true false branch
157 128 8 if ($self->_fields->{'query_strand'}) { }
160 222 34 $self->_fields->{$strand_type} eq 'Plus' ? :
168 6 130 if ($self->_fields->{'evalue'} =~ /^e/)
173 119 17 unless $self->_fields->{'total_gaps'}
187 0 489 unless $strip =~ /\s+(\d+)\s+(\S+)\s+(\d+)\s+(\S.+)\nSbjct:?\s+(\d+)\s+(\S+)\s+(\d+)/gm
200 136 842 if (not defined $q_start or $q < $q_start)
203 978 0 if (not defined $q_end or $q > $q_end)
208 222 756 if (not defined $h_start or $h < $h_start)
211 892 86 if (not defined $h_end or $h > $h_end)
259 0 24590 if ($mchar eq '+' or $mchar eq '.' or $mchar eq ':') { }
414 24176 elsif ($mchar eq ' ') { }
272 4 24586 if ($qchar eq '-') { }
278 5 24585 if ($schar eq '-') { }
311 5 17 unless ($self->{'_created_query'})
342 4 27 unless ($self->{'_created_hit'})
377 10 4 if defined $type
378 0 10 if not defined $type or $type eq 'hsp' or not $type =~ /query|hit|subject|sbjct|total/
379 0 14 if $type =~ /sbjct|subject/
381 4 10 if ($type eq 'total')
383 1 3 unless $answer eq '[unset]'
406 0 7 unless defined $val
409 2 5 if ($val =~ /^q/i) { }
5 0 elsif ($val =~ /^hi|^s/i) { }
0 0 elsif ($val =~ /^list|array/i) { }
439 9 0 wantarray ? :
9 7 unless defined $val
442 2 14 if ($val =~ /^q/i) { }
5 9 elsif ($val =~ /^(hi|s)/i) { }
9 0 elsif ($val =~ /^list|array/i) { }
472 9 0 wantarray ? :
9 7 unless defined $val
475 5 11 if ($val =~ /^q/i) { }
2 9 elsif ($val =~ /^(hi|s)/i) { }
9 0 elsif ($val =~ /^list|array/i) { }