Branch Coverage

Bio/Tools/AmpliconSearch.pm
Criterion Covered Total %
branch 56 66 84.8


line true false branch
172 3 14 if (defined $primer_file) { }
180 14 3 if defined $template
182 2 15 if defined $attach_primers
201 17 66 if (defined $template)
202 0 17 unless (ref $template and $template->isa('Bio::PrimarySeqI'))
206 17 0 unless ($template->isa('Bio::SeqI'))
234 19 27 if (defined $primer)
255 19 10 if (defined $primer)
268 7 31 if ($primer eq '') { }
269 3 4 $type eq 'fwd' ? :
271 0 1 unless (ref $primer and $primer->isa('Bio::PrimarySeqI') || $primer->isa('Bio::SeqFeature::Primer'))
277 1 30 $primer->isa('Bio::SeqFeature::Primer') ? :
278 16 15 $type eq 'fwd' ? :
308 0 3 unless (defined $primer_file)
316 0 3 unless (defined $fwd_primer)
323 2 1 if (defined $rev_primer) { }
351 2 21 if (defined $attach)
373 18 22 unless (defined $template_str)
380 21 19 if ($template_str =~ /$re/g)
382 5 16 $rev_match ? :
390 19 21 unless ($amplicon)
401 0 18 unless ($self->template)
404 0 1 unless ($self->fwd_primer or $self->rev_primer)
420 17 41 unless (defined $self->{'regexp'})
428 1 16 if ($fwd_regexp eq '^') { }
439 2 15 if ($rev_regexp eq '$') { }
450 1 16 $fwd_regexp eq '^' ? :
454 2 15 $rev_regexp eq '$' ? :
518 1 20 if ($self->attach_primers)
523 1 1 if ($type eq 'fwd') { }
526 0 1 unless defined $primer_seq
533 1 0 unless defined $primer_seq
551 1 0 if ($type eq 'fwd') { }