Branch Coverage

Bio/Seq/PrimedSeq.pm
Criterion Covered Total %
branch 14 30 46.6


line true false branch
237 0 15 unless (ref $self->{'seq'} and $self->{'seq'}->isa('Bio::SeqI'))
245 2 28 if (ref $self->{$primer} and $self->{$primer}->isa('Bio::PrimarySeqI'))
249 0 30 unless (ref $self->{$primer} and $self->{$primer}->isa('Bio::SeqFeature::Primer'))
260 0 1 unless ($self->{'left'}->start and $self->{'left'}->end and $self->{'right'}->start and $self->{'right'}->end)
285 2 10 if (not defined $arg) { }
5 5 elsif ($arg =~ /^-?l/) { }
3 2 elsif ($arg =~ /^-?r/) { }
2 0 elsif ($arg =~ /^-?b/) { }
389 0 14 unless (defined $before or not defined $middle || !defined($after))
390 0 0 unless ($target_seq =~ /$left_seq/)
393 0 0 unless ($target_seq =~ /$right_seq/)
410 0 14 if (exists $left->{'PRIMER_LEFT'} or exists $right->{'PRIMER_RIGHT'} or exists $self->{'PRIMER_PRODUCT_SIZE'})
422 0 0 if (defined $primer_left and not $primer_left eq $left_location)
426 0 0 if (defined $primer_right and not $primer_right eq $right_location)
430 0 0 if (defined $primer_product and not $primer_product eq $amplicon_size)