Branch Coverage

Bio/TreeIO/newick.pm
Criterion Covered Total %
branch 24 42 57.1


line true false branch
119 2 126 unless $_ = $self->_readline
131 2 124 if (s/^\s*\[([^\]]+)\]//)
135 2 0 if ($match =~ /([-\d\.+]+)/)
148 126 0 if (defined $tree)
183 0 527 if ($self->print_tree_count)
190 0 527 if (not defined $tree or ref($tree) =~ /ARRAY/i or not $tree->isa('Bio::Tree::TreeI'))
201 527 0 if $self->_flush_on_write and defined $self->_fh
216 1327 1893 if (scalar @data >= 1) { }
234 5 3215 if ($params->{'no_bootstrap_values'} != 1 and not $node->is_Leaf and defined $node->bootstrap and $params->{'bootstrap_style'} eq 'traditional' and $params->{'internal_node_id'} eq 'bootstrap') { }
3215 0 elsif ($params->{'no_internal_node_labels'} != 1) { }
242 5 0 if defined $bootstrap
245 2898 317 if defined $id
248 3220 0 if ($params->{'no_branch_lengths'} != 1)
250 2644 576 if defined $blen
253 0 3220 if ($params->{'bootstrap_style'} eq 'molphy')
255 0 0 if defined $bootstrap
258 0 3220 if ($params->{'newline_each_node'} == 1)
278 639 527 if @_
311 0 0 if (defined $val)
313 0 0 if (not $val =~ /^nobranchlength|molphy|traditional/i) { }
339 0 0 if @_