Branch Coverage

Bio/Seq/SeqWithQuality.pm
Criterion Covered Total %
branch 51 110 46.3


line true false branch
179 0 10 if (defined $id and defined $given_id)
180 0 0 if ($id ne $given_id)
184 1 9 if (defined $given_id)
189 4 6 if (not $seq) { }
2 4 elsif ($seq->isa('Bio::PrimarySeqI') or $seq->isa('Bio::SeqI')) { }
0 4 elsif (ref $seq) { }
191 0 4 unless ($self->{'supress_warnings'} == 1)
196 1 3 unless ($alphabet)
223 0 9 if (not defined $qual) { }
2 7 elsif (ref $qual eq 'Bio::Seq::PrimaryQual') { }
261 0 8 unless $self->{'seq_ref'} and $self->{'qual_ref'}
263 6 2 unless $sid
264 1 1 unless $self->{'qual_ref'}->display_id
265 1 0 if $sid eq $self->{'qual_ref'}->display_id
299 9 0 if $self->{'seq_ref'} or $self->{'qual_ref'}
302 0 0 unless $acc
304 0 0 if $acc eq $self->{'qual_ref'}->accession_number
322 9 0 if $self->{'seq_ref'} or $self->{'qual_ref'}
324 0 0 unless $pid
325 0 0 if $pid eq $self->{'qual_ref'}->primary_id
343 9 0 if $self->{'seq_ref'} or $self->{'qual_ref'}
345 0 0 unless $des
346 0 0 if $des eq $self->{'qual_ref'}->desc
366 0 0 if $self->{'seq_ref'} or $self->{'qual_ref'}
415 3 15 if (defined $value)
445 0 0 if (defined $acc) { }
449 0 0 unless defined $acc
472 0 0 if ($value)
495 0 0 if (defined $value)
516 0 0 unless ($self)
517 0 0 if (defined $value)
545 2 2 if (defined $value)
576 4 2 if (defined $value)
610 0 0 if (defined $value)
634 0 21 unless ($self->{'seq_ref'})
635 0 0 unless ($self->{'supress_warnings'} == 1)
640 0 21 unless ($self->{'qual_ref'})
641 0 0 unless ($self->{'supress_warnings'} == 1)
648 6 15 if ($seql != $self->{'qual_ref'}->length) { }
649 0 6 unless ($self->{'supress_warnings'} == 1)
677 1 1 if (defined $value)
678 1 0 if (ref $value eq 'Bio::Seq::PrimaryQual') { }
710 1 1 if (defined $value)
711 1 0 if (ref $value eq 'Bio::PrimarySeq') { }
746 8 1 unless ($self->display_id)
747 1 7 if ($c_id = $self->_common_id) { }
749 7 0 if ($self->{'seq_ref'}) { }
0 0 elsif ($self->{'qual_ref'}) { }
758 0 9 if ($acc) { }
0 9 elsif ($c_acc = $self->_common_accession_number) { }
760 0 9 if ($pid) { }
0 9 elsif ($c_pid = $self->_common_primary_id) { }
762 0 9 if ($desc) { }
0 9 elsif ($c_desc = $self->_common_desc) { }
898 0 0 unless ($result)