blib/lib/Games/Tetris.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 19 | 78.9 |
line | l | !l | condition |
---|---|---|---|
57 | 2 | 0 | $w || 15 |
58 | 2 | 0 | $d || 20 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
46 | 0 | 2 | 0 | ref $referent || $referent |
112 | 2 | 1 | 197 | $x < 0 or $y < 0 |
3 | 1 | 196 | $x < 0 or $y < 0 or $x >= $self->width | |
2 | 7 | 189 | $x < 0 or $y < 0 or $x >= $self->width or $y >= $self->depth | |
8 | 3 | 186 | $x < 0 or $y < 0 or $x >= $self->width or $y >= $self->depth or $self->well->[$y][$x] |