blib/lib/Chess/960.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 12 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
78 | 0 | 0 | 960 | defined $num and $num =~ /\A[0-9]{1,3}\z/u |
0 | 0 | 960 | defined $num and $num =~ /\A[0-9]{1,3}\z/u and $num >= 0 | |
0 | 0 | 960 | defined $num and $num =~ /\A[0-9]{1,3}\z/u and $num >= 0 and $num <= 959 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
76 | 960 | 0 | 0 | $num //= int rand 960 |