Branch Coverage

blib/lib/Bio/Tools/Run/Phylo/Phylip/Neighbor.pm
Criterion Covered Total %
branch 9 68 13.2


line true false branch
247 0 1 if (defined $ENV{'PHYLIPDIR'}) { }
249 0 0 $^O =~ /mswin/i ? :
287 0 3 if $ENV{'PHYLIPDIR'}
298 0 5 if $attr =~ /^-/
299 0 5 if ($attr =~ /IDLENGTH/i)
305 1 0 unless (defined $self->idlength)
316 0 5 unless $Bio::Tools::Run::Phylo::Phylip::Neighbor::OK_FIELD{$attr}
317 5 0 if @_
334 1 1 if (@_)
373 0 0 unless ($infilename)
380 0 0 wantarray ? :
418 0 0 unless ('File::Spec'->file_name_is_absolute($infile))
425 0 0 if ($self->quiet or $self->verbose < 0) { }
426 0 0 $^O =~ /mswin/i ? :
439 0 0 unless -e $treefile
447 0 0 unless ($self->save_tempfiles)
474 0 0 unless (ref $input)
477 0 0 unless (-e $input)
481 0 0 ref $input eq 'ARRAY' ? :
485 0 0 if ($input->isa('Bio::Matrix::PhylipDist'))
507 0 0 if ($val)
526 0 0 if ($name)
555 0 0 unless defined $value and $value
556 0 0 if ($attr =~ /TYPE/i) { }
0 0 elsif ($attr =~ /OUTGROUP/i) { }
0 0 elsif ($attr =~ /JUMBLE/i) { }
0 0 elsif ($attr =~ /MULTIPLE/i) { }
557 0 0 if ($value =~ /UPGMA/i)
563 0 0 if ($type ne 'UPGMA') { }
564 0 0 unless ($value =~ /^\d+$/)
566 0 0 unless $names{$value}
576 0 0 unless $value =~ /\d+/ and $value % 2 == 1
582 0 0 if ($version eq '3.6')
590 0 0 if (not $param_string =~ /$menu{'MULTIPLE'}/ and (defined $self->_input_nbr and $self->_input_nbr > 1))