Condition Coverage

Bio/PopGen/Simulation/GeneticDrift.pm
Criterion Covered Total %
condition 7 21 33.3


and 3 conditions

line !l l&&!r l&&r condition
121 2 0 0 defined $population and ref $population
2 0 0 defined $population and ref $population and $population->isa('Bio::PopGen::PopulationI')
131 0 2 0 defined $alleles and ref($alleles) =~ /HASH/i
181 0 682 900 $rand >= $val->[0] and $rand < $val->[1]
192 20 0 0 defined $rettype and $rettype =~ /population/i

or 3 conditions

line l !l&&r !l&&!r condition
123 0 0 0 $population->get_number_individuals || $popsize
161 20 0 0 $self->population_size || $self->throw('Need to have set a valid population size when running the simulation')