Condition Coverage

blib/lib/Chess/960.pm
Criterion Covered Total %
condition 4 12 33.3


and 3 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
76 960 0 0 $num //= int rand 960