Branch Coverage

blib/lib/AI/Genetic/Pro/Mutation/Listvector.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
21 5336 184 if rand() >= $mutation
23 108 76 if ($ga->variable_length) { }
28 45 63 if ($rand < 0.4 and $range > 2) { }
0 63 elsif ($rand < 0.8 and $range < $#$_translations) { }
29 6 39 if ($rand < 0.2 and $ga->variable_length > 1) { }
32 0 0 if ($rand < 0.6 and $ga->variable_length > 1 and not $$chromosomes[$idx][0]) { }
0 0 elsif (exists $$_translations[scalar @{$$chromosomes[$idx];}]) { }