Branch Coverage

Bio/PhyloNetwork/Factory.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
109 1 1 if (not defined $leavesR and defined $numleaves)
113 0 2 unless (defined $leavesR)
122 1 1 unless (defined $numhybrids)
128 0 2 if ($numhybrids == 0)
132 1 1 if ($numhybrids > 1) { }
173 27 1107 if ($self->{'index1'} == -1)
177 162 945 if ($self->{'index1'} >= $self->{'numcandidates'})
181 27 1080 if ($self->{'index2'} >= $self->{'numcandidates'})
183 2 25 unless ($oldnet)
190 3 1077 if (scalar $self->{'oldnet'}->hybrid_nodes < $self->{'numhybrids'} - 1)
200 156 921 if ($self->{'oldnet'}->is_attackable($u1, $v1, $u2, $v2)) { }
206 93 2873 if ($net->is_mu_isomorphic($netant))