Branch Coverage

Bio/SearchIO/cross_match.pm
Criterion Covered Total %
branch 20 48 41.6


line true false branch
124 0 41 if $self->{'_end_document'}
125 1 40 if (/^cross_match version\s+(.*?)$/) { }
1 39 elsif (/^Maximal single base matches/) { }
0 39 elsif (/^(\d+) matching entries/) { }
1 38 elsif ($start || $self->{'_result_count'} and /^\s*(\d+)/msx) { }
1 37 elsif (not $self->{'_parameters'}) { }
0 37 elsif (/^Query file(s):\s+(.*?)$/) { }
0 37 elsif (/^Subject file(s):\s+(.*?)$/) { }
140 1 0 if (/.*?\s+(\-.*?)$/)
144 1 0 if ($pp[$i] =~ /^\-/)
145 0 1 if ($pp[$i + 1] and not $pp[$i + 1] =~ /^\-/) { }
198 0 0 unless ($blank =~ /^\s*$/)
205 0 0 if $count >= 3
206 0 0 if /^$/
207 0 0 if (/^(C \S+.*?\d+ )(\S+) \d+$|^( \S+.*?\d+ )(\S+) \d+$$|^\s+$/) { }
209 0 0 if ($1 or $3) { }
210 0 0 $1 ? :
211 0 0 $2 ? :
214 0 0 if (/\s{$pad[0],$pad[0]}(.*?)$/) { }
248 0 1 if ($r[0] eq 'ALIGNMENT')
261 0 1 if ($r[8] eq 'C' and not $r[9] =~ /^\(\d+\)$/) { }
272 0 1 $query_seq ? :
0 1 $hit_seq ? :
0 1 $homology_seq ? :