blib/lib/Game/Life/NDim/Life.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
55 | 1009 | 757 | if (rand() < $types->{$type}) |
80 | 0 | 0 | unless defined $change |
109 | 36 | 0 | if (not $Game::Life::NDim::Life::EVAL_ERROR) { } |
131 | 4 | 66 | unless (defined $point) |
138 | 62 | 31 | if ($transform[$point] + 1 <= 1) |
147 | 4 | 27 | unless exists $transform[$point] |
150 | 4 | 58 | if $max + 1 == grep({$_ == 0;} @transform) |