Branch Coverage

Bio/SeqFeature/Generic.pm
Criterion Covered Total %
branch 119 148 80.4


line true false branch
221 18346 27610 if $location
222 0 45956 if $gff_string
223 0 45956 if ($gff1_string)
228 0 45956 if $pid
229 19625 26331 if $primary_tag
230 1262 44694 if $source_tag
231 296 45660 if $primary
232 380 45576 if $source
233 0 45956 if $annot
234 10158 35798 if defined $start
235 10157 35799 if defined $end
236 10112 35844 if defined $strand
237 92 45864 if defined $frame
238 82 45874 if defined $display_name
239 575 45381 if defined $score
240 2 45954 if defined $phase
242 0 45956 if ($seqname)
244 0 0 unless $seqid
246 1519 44437 if defined $seqid
247 1980 43976 if ($tag)
249 198 4791 UNIVERSAL::isa($tag->{$t}, 'ARRAY') ? :
290 30244 581656 if (defined $value) { }
18521 563135 elsif (not $self->{'_location'}) { }
291 0 30244 unless (ref $value and $value->isa('Bio::LocationI'))
319 37178 158703 if (defined $value)
323 92371 66332 unless defined $self->{'_gsf_seq'}
326 8 66324 if ($self->{'_gsf_seq'}->is_circular and $self->location->isa('Bio::Location::SplitLocationI')) { }
341 8 0 if ($a_end == $primary_seq_length and $b_start == 1 and $a_strand == $b_strand)
349 8 0 $cut_by_origin == 1 ? :
372 37174 158198 if (defined $value)
376 92125 66073 unless defined $self->{'_gsf_seq'}
379 8 66065 if ($self->{'_gsf_seq'}->is_circular and $self->location->isa('Bio::Location::SplitLocationI')) { }
394 8 0 if ($a_end == $primary_seq_length and $b_start == 1 and $a_strand == $b_strand)
402 8 0 $cut_by_origin == 1 ? :
429 3 2676 if ($length < 0 and defined $self->{'_gsf_seq'})
467 4951 1024 if (@_)
470 0 4275 if (defined $value and $value and not $value =~ /^[A-Za-z]+$/ and not $value =~ /^[+-]?\d+\.?\d*(e-\d+)?/ and $value != 0)
476 0 4951 if ($self->has_tag('score'))
482 5971 4 $self->has_tag('score') ? :
501 1975 819 if (@_)
503 0 1975 if (defined $value and not $value =~ /^[0-2.]$/)
507 8 1967 if (defined $value and $value eq '.')
528 32663 100452 if @_
547 32734 36718 if @_
600 0 60647 unless (defined $tag)
601 1 60646 unless (exists $self->{'_gsf_tag_hash'}{$tag})
642 0 19 unless (exists $self->{'_gsf_tag_hash'}{$tag})
667 0 17238 unless ($seq and ref $seq and $seq->isa('Bio::PrimarySeqI'))
698 0 243 if (defined $arg)
702 1 242 unless (exists $self->{'_gsf_seq'})
712 1 241 if ($self->{'_gsf_seq'}->is_circular and $self->location->isa('Bio::Location::SplitLocationI') and $start > $end) { }
732 143 99 if (defined $self->strand and $self->strand == -1)
776 36363 42974 if @_
794 140 182 if @_
819 1807 1143 if (defined $value or not defined $obj->{'annotation'})
820 1806 1 unless defined $value
844 23794 6661 unless +(shift())->{'_gsf_sub_array'}
873 0 23287 unless (defined $feat)
877 0 23287 unless ($feat->isa('Bio::SeqFeatureI'))
881 18952 4335 if ($expand and $expand eq 'EXPAND') { }
884 0 4335 unless ($self->contains($feat))
889 4116 19171 unless exists $self->{'_gsf_sub_array'}
912 24 24 unless $self->{'_gsf_sub_array'}
941 0 1 if (defined $gffio)
942 0 0 if (ref $self) { }
949 0 1 ref $self && exists $self->{'_gffio'} ? :
970 1 7 unless $formatter
994 0 0 unless (defined $f)
1050 0 19497 unless ($feat->isa('Bio::SeqFeatureI'))
1055 2414 17083 if (not $self->location->valid_Location) { }
1058 2321 93 unless $self->strand
1100 10907 277 if (@_ or not $self->has_tag($tag))
1101 19 10888 if $self->has_tag($tag)
1139 40414 655 unless $self->{'_gsf_sub_array'}