Branch Coverage

Bio/SeqFeature/Gene/Transcript.pm
Criterion Covered Total %
branch 48 86 55.8


line true false branch
83 67 29 unless $primary
85 96 0 unless defined $self->strand
228 0 509 unless ($fea->isa('Bio::SeqFeature::Gene::ExonI'))
286 0 1 unless $#exons > 0
291 1 0 if $strand
293 1 0 $exons[0]->end < $exons[1]->start ? :
297 1 0 if (not defined $strand or $strand != -1 or not $rev_order) { }
312 0 3 if $self->entire_seq
334 11 20 if ($fea)
441 8 1 if $self->poly_A_site
470 0 0 if (not $fea_only)
507 0 4 unless @exons
511 5 35 if (defined $exon->strand and not $strand)
514 0 40 if ($exon->strand and $exon->strand * $strand < 0)
520 0 4 unless $cds
546 0 0 if $seq
574 0 1 unless ($seq)
590 1 0 if ($self->poly_A_site)
593 0 1 if $seq->length == 0
603 0 0 $type ? :
614 2 38 unless defined $exon->seq and $exon->is_coding
617 37 1 if (not defined $exon->frame or $phase == $exon->frame) { }
625 0 1 unless $seq
628 0 1 if ($phase > 0)
631 0 0 if ($seq =~ /^(n+)/i)
634 0 0 if ($n_crop >= $phase) { }
662 0 254 unless $self->{'_features'}
679 0 0 unless $self->{'_features'}
687 773 370 if ($_->isa($type))
688 35 738 if ($pri and not $_->primary_tag =~ /$pri/i)
710 0 0 if (defined $list[$_] and $list[$_]->isa($type))
712 0 0 if ($pri and not $list[$_]->primary_tag =~ /$pri/i)
731 0 531 unless ($fea->isa('Bio::SeqFeatureI'))
734 382 149 if (not $fea->isa($type) or $pri)
737 87 444 if (not $self->strand) { }
740 0 444 if ($self->strand * $fea->strand == -1)
746 0 0 if (defined $self->entire_seq and not defined $fea->entire_seq and $fea->can('attach_seq'))
750 0 531 if (defined $self->parent)
761 64 14 if ($fea->strand)
763 30 34 unless $strand
764 0 64 if ($fea->strand * $strand < 0)
770 20 27 if (defined $strand and $strand == -1) { }
780 363 19 if ($pri) { }