Branch Coverage

Bio/Search/Hit/PullHitI.pm
Criterion Covered Total %
branch 62 104 59.6


line true false branch
152 0 55 unless $parent or $chunk
154 55 0 if $parent
156 39 16 if ($chunk)
158 39 0 if (ref $chunk eq 'ARRAY') { }
167 55 0 if $hit_data
172 55 55 if (@_)
428 0 52 if $seqType eq 'sbjct'
431 33 19 unless (defined $self->{$storage_name})
439 23 10 if (@inds and $class ne 'gap')
448 2 50 $collapse ? :
482 0 3 if (@_)
592 1 7 if $type eq 'sbjct'
593 4 4 if ($type eq 'query') { }
4 0 elsif ($type eq 'hit') { }
630 0 3 if $self->has_field('accession')
631 3 0 if $self->has_field('description')
632 3 0 unless $accession or $desc
635 0 0 if $accession
637 0 0 if (defined $desc)
641 0 0 if ($id =~ /(?:gb|emb|dbj|sp|pdb|bbs|ref|tp[gde])\|(.*)\|(?:.*)/) { }
0 0 elsif ($id =~ /(?:pir|prf|pat|gnl)\|(?:.*)\|(.*)/) { }
0 0 elsif ($id =~ /(?:gim|gi|bbm|bbs|lcl)\|(?:\d*)/) { }
0 0 elsif ($id =~ /(?:oth)\|(.*)\|(?:.*)\|(?:.*)/) { }
679 0 3 if (@_)
774 1 10 if $seqType eq 'sbjct'
812 0 0 wantarray ? :
813 0 5 if $seqType eq 'sbjct'
815 0 5 if ($seqType =~ /list|array/i) { }
1 4 elsif ($seqType eq 'total') { }
856 0 6 if $seqType eq 'sbjct'
858 3 3 unless (exists $self->{'_id_matches'})
862 3 3 unless (exists $self->{'_con_matches'})
871 80 20 unless (exists $identicals{$_})
880 6 0 if ($class) { }
884 4 2 if ($class =~ /^id/i) { }
916 0 12 unless ($self->get_field('num_hsps'))
921 0 3 wantarray ? :
922 1 11 if $seqType eq 'sbjct'
924 0 12 if ($seqType =~ /list|array/i) { }
5 7 elsif ($seqType eq 'hit') { }
7 0 elsif ($seqType eq 'query') { }
960 0 12 unless ($self->get_field('num_hsps'))
965 0 3 wantarray ? :
966 1 11 if $seqType eq 'sbjct'
968 0 12 if ($seqType =~ /list|array/i) { }
5 7 elsif ($seqType eq 'hit') { }
7 0 elsif ($seqType eq 'query') { }
1001 0 4 if $seqType eq 'sbjct'
1023 0 3 if $seqType eq 'sbjct'
1031 0 3 if $ratio_rounded == 1 and $ratio < 1
1053 0 1 if $seqType eq 'sbjct'
1061 0 1 if $ratio_rounded == 1 and $ratio < 1