Branch Coverage

Bio/TreeIO.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
119 701 659 if ($class =~ /Bio::TreeIO::(\S+)/) { }
131 0 659 unless $class->_load_format_module($format)
195 0 701 unless $handler
196 0 701 unless ($handler->isa('Bio::Event::EventHandlerI'))
256 0 659 if ($@)
273 0 112 if (defined $value)
285 1400 2 unless defined $value
299 701 744 unless (defined $self->{'_params'})
349 0 3 unless $_ = shift()
350 1 2 if /\.(dnd|newick|nh)$/i
351 2 0 if /\.(nhx)$/i
352 0 0 if /\.(xml)$/i
353 0 0 if /\.svg$/i
354 0 0 if /\.(lin|lintree)$/i
370 0 0 unless wantarray