Branch Coverage

blib/lib/Bio/Tools/Run/Phylo/Phylip/ProtDist.pm
Criterion Covered Total %
branch 8 72 11.1


line true false branch
301 0 3 if $ENV{'PHYLIPDIR'}
311 0 7 if $attr =~ /^-/
312 0 7 if ($attr =~ /PROGRAM/i)
316 1 6 if ($attr =~ /IDLENGTH/i)
330 0 6 unless $Bio::Tools::Run::Phylo::Phylip::ProtDist::OK_FIELD{$attr}
331 6 0 if @_
348 1 0 if (@_)
388 0 0 unless ($infilename)
393 0 0 wantarray ? :
415 0 0 unless ('File::Spec'->file_name_is_absolute($infile))
423 0 0 if ($self->quiet or $self->verbose < 0) { }
424 0 0 $^O =~ /mswin/i ? :
436 0 0 unless -e $outfile
447 0 0 unless $self->save_tempfiles
492 0 0 unless (ref $input)
495 0 0 unless (-e $input)
498 0 0 ref $input eq 'ARRAY' ? :
507 0 0 if ($input->isa('Bio::SimpleAlign'))
522 0 0 if ($val)
550 0 0 unless defined $value
551 0 0 if ($attr =~ /MODEL/i)
552 0 0 if ($value =~ /CAT/i)
557 0 0 if ($attr =~ /MULTIPLE/i)
560 0 0 if ($cat == 1)
561 0 0 if ($attr =~ /GENCODE/i)
563 0 0 unless $value =~ /[$allowed]/
566 0 0 if ($attr =~ /CATEGORY/i)
568 0 0 unless $value =~ /[$allowed]/
571 0 0 if ($attr =~ /PROBCHANGE/i)
572 0 0 if ($value =~ /\d+/ and $value >= 0 and $value < 1) { }
579 0 0 if ($attr =~ /TRANS/i)
580 0 0 if ($value =~ /\d+/ and $value >= 0)
584 0 0 if ($attr =~ /FREQ/i)
586 0 0 if (not $freq[0] =~ /\d+/) { }
0 0 elsif ($#freq == 3) { }
602 0 0 if (not $param_string =~ /$menu{'MULTIPLE'}/ and (defined $self->_input_nbr and $self->_input_nbr > 1))