Branch Coverage

blib/lib/Bio/Tools/Run/WrapperBase.pm
Criterion Covered Total %
branch 50 86 58.1


line true false branch
128 0 2 if (defined $value)
147 1 0 if (defined $value)
168 1 3 if (defined $value or not defined $self->{'no_param_checks'})
169 1 0 unless defined $value
191 0 0 if ($args[0] and exists $self->{'_tmpdir'})
211 9 0 if (defined $nm or not defined $self->{'_outfilename'})
212 2 7 unless defined $nm
233 0 0 if @_
234 0 0 unless ($self->{'_tmpdir'})
237 0 0 unless (-d $self->{'_tmpdir'})
257 0 21 if (defined $self->{'_tmpdir'} and -d $self->{'_tmpdir'})
258 0 0 $self->verbose >= 1 ? :
276 70 84 unless (defined $self->{'io'})
312 0 61 if (defined $exe)
316 61 0 unless (defined $self->{'_pathtoexe'})
319 61 0 if ($prog_path)
320 0 61 if (-f $prog_path and -x $prog_path) { }
6 55 elsif ($self->program_dir) { }
324 0 6 if $warn
327 61 0 unless ($self->{'_pathtoexe'})
329 0 61 if ($exe = $self->io->exists_exe($self->program_name)) { }
333 0 61 if $warn
340 61 0 unless (defined $self->{'_pathtoexe'})
360 12 110 if $self->program_dir
361 0 122 $^O =~ /mswin/i ? :
122 0 if $self->program_name
411 18 4 if (@_)
464 0 3 unless $params or $switches
465 0 3 if defined($d) + defined($dd) + defined($md) > 1
468 0 3 ref $params eq 'HASH' ? :
469 0 3 ref $switches eq 'HASH' ? :
475 71 12 unless defined $value
476 0 12 if exists $switches{$method} and not $value
478 0 12 if $lc
479 5 7 if $md
480 7 5 if $d or $md and $method_length == 1
481 5 7 if $dd or $md and $method_length > 1
482 0 12 if $utd
484 8 4 if (exists $params{$method})
486 0 8 if ($value =~ /^[\'\"]+(.+)[\'\"]+$/) { }
0 8 elsif ($value =~ /\s+/) { }
495 4 8 exists $switches{$method} ? :
504 15 0 unless ($self->save_tempfiles)