Branch Coverage

Bio/PopGen/Simulation/Coalescent.pm
Criterion Covered Total %
branch 20 34 58.8


line true false branch
137 1 0 if (not defined $samps) { }
138 0 1 if (not defined $samplesize or $samplesize <= 0)
143 0 0 unless (ref($samps) =~ /ARRAY/i)
151 0 1 if defined $maxcount
174 0 1 if $self->maxcount and $self->{'_treecounter'}++ >= $self->maxcount
228 4 5 if (defined $n->{'desc1'})
231 4 5 if (defined $n->{'desc2'})
274 8 1 if ($node->ancestor)
277 8 0 if ($len > 0)
285 0 9 unless ($node->isa('Bio::Tree::AlleleNode'))
294 0 1 unless $branchlen == $last
317 684 216 unless ($node->has_Marker($m))
339 0 1 if (defined $value)
340 0 0 if ($value =~ /^(\d+)/) { }
364 1 0 if (defined $value)
365 0 1 unless (ref($value) =~ /ARRAY/i)
389 1 1 if (defined $value)