Condition Coverage

blib/lib/Algorithm/Evolve.pm
Criterion Covered Total %
condition 0 34 0.0


and 2 conditions

line l !l condition
47 0 0 *{'Algorithm::Evolve::selection::' . $p->selection;}{'CODE'} and *{'Algorithm::Evolve::replacement::' . $p->replacement;}{'CODE'}

and 3 conditions

line !l l&&!r l&&r condition
146 0 0 0 defined $parents and defined $children

or 2 conditions

line l !l condition
342 0 0 $$p{'max_gladitorial_attempts'} || 100

or 3 conditions

line l !l&&r !l&&!r condition
28 0 0 0 $$p{'random_seed'} ||= int rand $rand_max
31 0 0 0 $$p{'selection'} ||= $$p{'replacement'}
32 0 0 0 $$p{'replacement'} ||= $$p{'selection'}
33 0 0 0 $$p{'children_per_gen'} ||= $$p{'parents_per_gen'}
54 0 0 0 $p->children_per_gen > $p->size or $p->parents_per_gen > $p->size
292 0 0 0 not defined $t_size or $t_size < 2
0 0 0 not defined $t_size or $t_size < 2 or $t_size > $p->size
296 0 0 0 $p->replacement eq 'tournament' or $tournament_warn++
339 0 0 0 $p->replacement eq 'gladitorial' or $gladitorial_warn++