Branch Coverage

Bio/SeqIO/tigrxml.pm
Criterion Covered Total %
branch 78 128 60.9


line true false branch
101 1 0 unless (defined $self->sequence_factory)
111 1 0 unless $self->{'_seendata'}{'_seqs'}
0 1 if (@{[] unless $self->{'_seendata'}{'_seqs'};} or eof $self->_fh)
140 25 1 defined $self->{'_seendata'}{'_seqs'}[-1] ? :
143 1 25 if ($name eq 'ASSEMBLY') { }
1 24 elsif ($name eq 'HEADER') { }
1 23 elsif ($name eq 'CLONE_NAME') { }
1 22 elsif ($name eq 'ORGANISM') { }
1 21 elsif ($name eq 'AUTHOR_LIST') { }
2 19 elsif ($name eq 'TU') { }
2 17 elsif ($name eq 'MODEL') { }
8 9 elsif ($name eq 'EXON') { }
2 7 elsif ($name eq 'PROTEIN_SEQ') { }
7 0 elsif ($name eq 'CDS') { }
0 0 elsif ($name eq 'RNA-EXON') { }
0 0 elsif ($name eq 'PRE-TRNA') { }
0 0 elsif ($name eq 'TRNA') { }
0 0 elsif ($name eq 'REPEAT_LIST') { }
0 0 elsif ($name eq 'REPEAT') { }
0 0 elsif ($name eq 'AUTHOR') { }
0 0 elsif ($name eq 'GB_DESCRIPTION') { }
0 0 elsif ($name eq 'GB_COMMENT') { }
0 0 elsif ($name eq 'LINEAGE') { }
159 1 1 if ($s > $e)
188 1 1 if ($s > $e)
211 6 2 if ($s > $e)
238 6 1 if ($s > $e)
262 0 0 if ($s > $e)
284 0 0 if ($s > $e)
302 0 0 if ($s > $e)
329 0 0 if ($s > $e)
363 1 25 if ($name eq 'AUTHOR_LIST') { }
1 24 elsif ($name eq 'ASSEMBLY') { }
2 22 elsif ($name eq 'TU' or $name eq 'TRNA' or $name eq 'PRE-TRNA' or $name eq 'REPEAT') { }
2 20 elsif ($name eq 'MODEL') { }
364 1 0 if ($curseq->can('annotation'))
372 0 1 unless $self->{'_seendata'}{'_feats'}
0 1 if (@{[] unless $self->{'_seendata'}{'_feats'};})
399 0 2 if (not defined $cdsexon) { }
0 2 elsif (not defined $exon) { }
413 2 1 $exon->strand > 0 ? :
423 2 1 if ($utr->primary_tag eq 'five_prime_UTR') { }
442 0 2 if (not defined $cdsexon) { }
0 2 elsif (not defined $exon) { }
456 1 1 $exon->strand < 0 ? :
467 1 1 if ($utr->primary_tag eq 'three_prime_UTR') { }
486 0 44 if (not @{$self->{'_state'};}) { }
492 44 0 if (defined $curseq)
493 1 43 if ($name eq 'CLONE_NAME') { }
1 42 elsif ($name eq 'ORGANISM') { }
0 42 elsif ($name eq 'LINEAGE') { }
0 42 elsif ($name eq 'AUTHOR') { }
516 33 11 if (defined $curfeat)
517 15 18 if ($name eq 'EXON') { }
0 18 elsif ($name eq 'RNA-EXON') { }
2 16 elsif ($name eq 'PROTEIN_SEQ') { }
0 16 elsif ($name eq 'CDS') { }
0 16 elsif ($name eq 'PRE-TRNA') { }
0 16 elsif ($name eq 'TRNA') { }
0 16 elsif ($name eq 'REPEAT_LIST') { }
0 16 elsif ($name eq 'REPEAT') { }
0 16 elsif ($name eq 'GB_COMMENT') { }
0 16 elsif ($name eq 'GB_DESCRIPTION') { }
543 0 14 unless $test