Branch Coverage

Bio/SeqIO/bsml_sax.pm
Criterion Covered Total %
branch 51 58 87.9


line true false branch
99 1 0 unless (defined $self->sequence_factory)
123 1 0 unless $self->{'_seendata'}{'_seqs'}
0 1 if (@{[] unless $self->{'_seendata'}{'_seqs'};} or eof $self->_fh)
152 32 4 defined $self->{'_seendata'}{'_seqs'}[-1] ? :
157 1 35 if ($name eq 'BSML') { }
1 34 elsif ($name eq 'DEFINITIONS') { }
1 33 elsif ($name eq 'SEQUENCES') { }
1 32 elsif ($name eq 'SEQUENCE') { }
1 31 elsif ($name eq 'FEATURE-TABLES') { }
8 23 elsif ($name eq 'ATTRIBUTE') { }
2 21 elsif ($name eq 'FEATURE') { }
10 11 elsif ($name eq 'QUALIFIER') { }
2 9 elsif ($name eq 'INTERVAL-LOC') { }
2 7 elsif ($name eq 'REFERENCE') { }
170 1 0 $topology =~ /^linear$/i ? :
185 1 7 if ($name =~ /^version$/i) { }
1 6 elsif ($name eq 'organism-species') { }
1 5 elsif ($name eq 'organism-classification') { }
2 3 elsif ($name eq 'database-xref') { }
2 1 elsif ($name eq 'date-created' or $name eq 'date-last-updated') { }
187 1 0 if ($content =~ /^[^\.]+\.(\d+)/) { }
236 0 2 if $strand
251 2 34 if ($name eq 'REFERENCE') { }
2 32 elsif ($name eq 'FEATURE') { }
263 0 52 if (not @{$self->{'_state'};}) { }
270 2 50 if ($name eq 'REFAUTHORS') { }
1 49 elsif ($name eq 'REFTITLE') { }
2 47 elsif ($name eq 'REFJOURNAL') { }
2 45 elsif ($name eq 'SEQ-DATA') { }