Branch Coverage

Bio/Tools/SeqStats.pm
Criterion Covered Total %
branch 55 74 74.3


line true false branch
417 0 5 unless ($seqobj->isa('Bio::PrimarySeqI'))
420 0 5 unless (defined $seqobj->alphabet and defined $Bio::Tools::SeqStats::Alphabets{$seqobj->alphabet})
462 13 5 if (defined $object_argument)
467 5 13 if ($_is_instance) { }
468 1 4 if ($self->{'_monomer_count'})
478 0 13 unless $seqobj->isa('Bio::PrimarySeqI')
485 14 3 $_is_strict ? :
491 2 15 if $seqobj->alphabet eq 'rna'
498 1 240 if $element eq '*'
502 4 13 if ($_is_instance)
539 10 2 if (defined $object_argument)
543 2 10 if ($_is_instance) { }
544 0 2 if ($weight_array = $self->{'_mol_wt'})
552 0 10 unless $seqobj->isa('Bio::PrimarySeqI')
584 7 5 if ($moltype =~ /protein/) { }
600 2 10 if ($_is_instance)
634 1 2 if (defined $object_argument)
638 2 1 if ($_is_instance) { }
639 0 2 if ($rcount = $self->{'_codon_count'})
646 0 1 unless $seqobj->isa('Bio::PrimarySeqI')
654 0 3 unless ($alphabet =~ /[dr]na/i)
662 0 3 unless ($_is_strict)
663 0 0 if $self->verbose >= 0
676 0 1112 if ($codon =~ /[^ACTGU]/i)
680 122 990 unless (defined $rcount->{$codon})
687 2 1 if ($_is_instance)
720 4 0 if (defined $object_argument)
724 0 4 if ($_is_instance) { }
725 0 0 if (my $gravy = $self->{'_hydropathicity'})
732 0 4 unless $seqobj->isa('Bio::PrimarySeqI')
738 1 3 unless ($seqobj->length > 0)
745 1 2 unless ($alphabet =~ /protein/i)
753 1 1 unless ($_is_strict)
770 0 1 if ($_is_instance)
804 4 29 if $seqobj->alphabet eq 'rna'
816 25 8 unless ($seqstring =~ /[^$alphabet]/)
824 8 0 unless ($seqstring =~ /[^$alphabet]/)