Condition Coverage

Bio/Search/Hit/GenericHit.pm
Criterion Covered Total %
condition 60 106 56.6


and 3 conditions

line !l l&&!r l&&r condition
206 2832 603 0 ref $hsp ne 'HASH' and not $hsp->isa('Bio::Search::HSP::HSPI')
463 90 0 257 defined $self->{'_hsps'} and $self->{'_iterator'} <= scalar @{$self->{'_hsps'};}
1171 40 1 0 $ratio_rounded == 1 and $ratio < 1
1247 15 0 0 $ratio_rounded == 1 and $ratio < 1

or 2 conditions

line l !l condition
231 4261 0 $self->{'_hsp_factory'} || (return)
466 193 64 $self->{'_hsps'}[$iterator] || (return)
696 0 48 $option ||= 'best'
742 32 0 shift() || 'query'
788 448 0 $seqType ||= 'query'
873 0 0 $self->{'_gaps_query'} + $self->{'_gaps_sbjct'} || 0
875 0 0 $$self{'_gaps_' . $seqType} || 0
1094 0 0 $seqType ||= 'query'
1151 38 3 $seqType ||= 'query'
1227 14 1 $seqType ||= 'query'
1449 0 0 $seqType ||= 'query'
1450 0 0 $class ||= 'identical'
1451 0 0 $collapse ||= 0
1581 3 0 $self->{'_rank'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
206 0 0 3435 not defined $hsp or ref $hsp ne 'HASH' and not $hsp->isa('Bio::Search::HSP::HSPI')
251 3656 0 1461 defined $value or not defined $previous
271 2377 0 575 defined $value or not defined $previous
291 3505 5 159 defined $value or not defined $previous
311 937 17 184 defined $value or not defined $previous
336 3533 0 1128 defined $value or not defined $previous
468 142 0 0 $self->hsp_factory || $self->throw('Tried to get a HSP, but it was a hash ref and we have no hsp factory')
497 586 0 0 $self->hsp_factory || $self->throw('Tried to get a HSP, but it was a hash ref and we have no hsp factory')
620 0 0 0 $n ||= $self->num_hsps
666 3 0 0 not $fmt or $fmt =~ /^raw/i
851 116 0 0 $seqType ||= wantarray ? 'list' : 'total'
865 58 58 0 $seqType eq 'sbjct' or $seqType eq 'query'
955 21 3 0 $seqType ||= wantarray ? 'list' : 'query'
976 1 2 3 not defined $earliest_query_start or $this_query_start < $earliest_query_start
981 1 2 3 not defined $earliest_sbjct_start or $this_sbjct_start < $earliest_sbjct_start
1031 21 3 0 $seqType ||= wantarray ? 'list' : 'query'
1052 1 3 2 not defined $latest_query_end or $this_query_end > $latest_query_end
1057 1 1 4 not defined $latest_sbjct_end or $this_sbjct_end > $latest_sbjct_end
1488 20 0 0 $seqType ||= wantarray ? 'list' : 'query'
1494 10 10 0 $seqType eq 'sbjct' or $seqType eq 'query'
1597 0 1 0 defined $value or not defined $previous
1690 3544 3 18 defined $value or not defined $previous