Branch Coverage

blib/lib/Bio/Tools/Run/Phylo/Phylip/DrawGram.pm
Criterion Covered Total %
branch 11 54 20.3


line true false branch
105 0 1 if $ENV{'PHYLIPDIR'}
143 0 3 if $ENV{'PHYLIPDIR'}
167 1 1 if $attr =~ /^-/
168 0 1 if ($attr =~ /PROGRAM/i)
174 1 0 unless $self->plotter
175 1 0 unless $self->screen
176 1 0 unless $self->fontfile
186 0 4 unless $Bio::Tools::Run::Phylo::Phylip::DrawGram::OK_FIELD{$attr}
187 2 2 if @_
208 0 0 unless ($infilename)
253 0 0 unless ('File::Spec'->file_name_is_absolute($infile))
257 0 0 unless (defined $self->fontfile)
261 0 0 if (-e $self->io->catfile($curpath, 'fontfile')) { }
0 0 elsif ('File::Spec'->file_name_is_absolute($self->fontfile)) { }
273 0 0 if ($self->quiet or $self->verbose < 0) { }
274 0 0 $^O =~ /mswin/i ? :
286 0 0 unless -e $plotfile
306 0 0 if (not ref $input) { }
0 0 elsif ($input->isa('Bio::Tree::TreeI')) { }
309 0 0 unless (-e $input)
347 0 0 unless defined $value
349 0 0 if (ref $value)
353 0 0 unless (exists $menu{$attr})
357 0 0 unless (ref($menu{$attr}) =~ /HASH/i)
358 0 0 if (not @vals) { }
367 0 0 if ($value =~ /$stype/i)
373 0 0 unless ($seen)