Condition Coverage

blib/lib/Game/Life/Faster.pm
Criterion Covered Total %
condition 30 53 56.6


and 3 conditions

line !l l&&!r l&&r condition
43 0 0 3 $self->{'size_x'} =~ / \A [1-9][0-9]* \z /msx and $self->{'size_y'} =~ / \A [1-9][0-9]* \z /msx
129 117 160 47 $self->{'grid'}{$x}{$_} && $self->{'grid'}{$x}{$_}[0]
201 1 0 2 1 == @array and $array[0] =~ / \n /msx
252 0 0 74 defined $x and defined $y
0 0 74 defined $x and defined $y and $x =~ / \A [0-9]+ \z /msx
0 0 74 defined $x and defined $y and $x =~ / \A [0-9]+ \z /msx and $y =~ / \A [0-9]+ \z /msx
260 0 0 74 $x >= 0 and $x < $self->{'size_x'}
0 0 74 $x >= 0 and $x < $self->{'size_x'} and $y >= 0
0 0 74 $x >= 0 and $x < $self->{'size_x'} and $y >= 0 and $y < $self->{'size_y'}

or 2 conditions

line l !l condition
40 2 1 $self->{'size_x'} ||= 100
41 2 1 $self->{'size_y'} ||= 100
121 0 10 $living ||= 'X'
122 0 10 $dead ||= '.'
217 2 2 $steps ||= 1
266 27 47 $self->{'grid'}{$x}{$y}[0] || 0
271 63 11 $self->{'grid'}{$x}{$y}[1] ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
48 1 2 0 ref $class || $class
90 0 1 0 $coord ||= $self->get_grid_coord
123 2 8 0 $coord ||= $self->get_grid_coord
317 0 6 0 $rule ||= $dflt{$kind}