Branch Coverage

Bio/AlignIO/emboss.pm
Criterion Covered Total %
branch 41 44 93.1


line true false branch
128 87 139 if /^\#?\s+$/ or /^\#+\s*$/
129 13 126 if (/^\#(\=|\-)+\s*$/) { }
6 120 elsif (/(Local|Global):\s*(\S+)\s+vs\s+(\S+)/ or /^\#\s+Program:\s+(\S+)/) { }
7 113 elsif (/Score:\s+(\S+)/) { }
9 104 elsif (/^\#\s+(1|2):\s+(\S+)/ and not $data{"seq$1"}{'name'}) { }
51 66 elsif ($data{'seq1'}{'name'} and /^\Q$data{'seq1'}{'name'}\E/) { }
130 4 9 if $seenbegin
135 4 2 if (not defined $name1) { }
139 1 1 $1 eq 'Local' ? :
151 1 8 if ($names{$nm})
164 102 51 if ($count == 0 or $count == 2) { }
167 4 98 if ($count == 2 and $data{'seq2'}{'name'} eq '') { }
4 94 elsif (@l == 3) { }
177 51 51 $count == 0 ? :
188 51 102 if $count++ == 2
193 24 27 if ($data{'type'} eq 'needle')
199 3 21 if ($d < 0) { }
6 15 elsif ($d > 0) { }
201 0 3 if ($current[0][0] <= 1) { }
209 3 3 if ($current[2][0] <= 1) { }
221 0 7 unless $seenbegin
227 0 14 unless defined $data{$seqname}