Branch Coverage

Bio/SeqIO/swissdriver.pm
Criterion Covered Total %
branch 32 50 64.0


line true false branch
132 0 9 $handler ? :
138 9 0 if (not defined $self->sequence_factory)
168 1848 18 if ($ann) { }
169 114 1734 if ($ann eq 'FT') { }
171 108 6 if ($data =~ /^(\w+)\s+([\d\?\<]+)\s+([\d\?\>]+)(?:\s+?(\S.*))?/ox) { }
0 6 elsif ($data =~ m[^\s+/([^=]+)(?:=(.+))?]ox) { }
173 108 0 if ($seqdata)
181 108 0 if defined $loc1
187 0 0 ref $seqdata->{$qual} ? :
0 0 $seqdata->{$qual} ? :
191 6 0 if ($ct == 0) { }
192 6 0 $seqdata->{$qual} ? :
195 0 0 unless (ref $seqdata->{$qual})
200 0 0 $seqdata->{$qual}[$ct] ? :
204 905 829 if ($ann ne $lastann)
205 263 642 if (not $SEC{$ann} and $seqdata)
211 280 625 !$SEC{$ann} ? :
212 280 625 unless $SEC{$ann}
214 0 1734 if $ann eq '//'
215 17 1717 if $ann eq 'SQ'
217 829 888 $seqdata->{$annkey} ? :
225 17 99 if (index($line, '//') == 0) { }
240 0 19 if $seqdata
271 9 19 if ($handler)
272 0 9 unless ref $handler and $handler->isa('Bio::HandlerBaseI')