blib/lib/Games/Go/AGA/DataObjects/Types.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 21 | 57.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 3 | 2 | 35 | /^\w+$/ && /^\D/ |
76 | 13 | 46 | 0 | $_ && (&isint($_) || &isfloat($_)) && ($_ < 20 && $_ >= 1 || $_ <= -1 && $_ > -100) |
89 | 1 | 10 | 0 | defined $_ && &isint($_) && ($_ >= 0 && $_ <= 99) |
98 | 0 | 11 | 0 | defined $_ && (&isint($_) || &isfloat($_)) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
45 | 0 | 0 | 0 | not &isint($_[0]) or &isfloat($_[0]) |
68 | 9 | 0 | 30 | /^(\d+)[dD]$/ && $1 >= 1 && $1 < 20 || /^(\d+)[kK]$/ && $1 >= 1 && $1 < 100 |
108 | 13 | 17 | 0 | is_Rank($_) || is_Rating($_) |