Branch Coverage

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


line true false branch
119 660 618 if ($class =~ /Bio::TreeIO::(\S+)/) { }
131 0 618 unless $class->_load_format_module($format)
195 0 660 unless $handler
196 0 660 unless ($handler->isa('Bio::Event::EventHandlerI'))
256 0 618 if ($@)
273 0 107 if (defined $value)
285 1318 2 unless defined $value
299 660 725 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