Bio/Tree/RandomFactory.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 31 | 35.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
162 | 2 | 0 | 0 | defined $samps and not defined $taxa |
163 | 1 | 0 | 1 | $samplesize and not $num_taxa |
200 | 480 | 0 | 0 | $self->maxcount and $self->{'_count'}++ >= $self->maxcount |
line | l | !l | condition |
---|---|---|---|
395 | 480 | 0 | $self->taxa || [] |
448 | 0 | 0 | $self->taxa || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
160 | 0 | 2 | 0 | $nodetype ||= $Bio::Tree::RandomFactory::DefaultNodeType |
165 | 0 | 0 | 1 | not defined $num_taxa or $num_taxa <= 0 |
201 | 0 | 480 | 0 | $options{'randtype'} || $self->random_tree_method |
205 | 0 | 480 | 0 | $rand_type =~ /(BY|backwards_yule)/i or $rand_type =~ /^yule/i |
354 | 0 | 0 | 480 | $self->{'random_tree_method'} || $Bio::Tree::RandomFactory::Defaults{'DefaultTreeMethod'} |
393 | 0 | 480 | 0 | $speciation ||= $Bio::Tree::RandomFactory::Defaults{'Speciation'} |