Branch Coverage

blib/lib/Bio/Tools/Run/Mdust.pm
Criterion Covered Total %
branch 16 64 25.0


line true false branch
149 1 0 if $args{'TARGET'}
152 0 1 if defined $args{'COORDS'}
156 0 1 if defined $args{'WSIZE'}
157 0 1 if defined $args{'CUTOFF'}
158 0 1 if defined $args{'CUTOFF'}
179 0 0 if ($target)
187 0 3 if $ENV{'MDUSTDIR'}
200 0 0 unless my $target = $self->target
207 0 0 if defined $self->wsize
208 0 0 if defined $self->cutoff
209 0 0 if defined $self->maskchar
210 0 0 if $self->coords
211 0 0 if $self->debug
222 0 0 if $@
226 0 0 if ($self->coords) { }
235 0 0 unless $self->save_tempfiles
257 1 0 if ($targobj) { }
270 0 1 unless ($targobj->isa('Bio::SeqI') or $targobj->isa('Bio::PrimarySeqI'))
277 0 1 if ($self->coords) { }
1 0 elsif ($targobj->isa('Bio::Seq::RichSeqI')) { }
278 0 0 unless ($targobj->isa('Bio::Seq::RichSeqI'))
289 0 1 unless ($targobj->alphabet eq 'dna')
304 0 0 if ($file) { }
0 0 elsif (not $self->{'maskedfile'}) { }
319 0 0 unless open FILE, $file
350 0 0 unless defined $maskchar
352 0 0 unless (grep {$maskchar eq $_;} @Bio::Tools::Run::Mdust::MASKCHARS)
364 1 0 unless ($self->save_tempfiles)
376 0 2 if $name eq 'DESTROY'
379 1 1 if (defined $value)
383 0 2 unless (exists $self->{$name})
384 0 0 if $self->debug