blib/lib/Chess/Opening/Book/Move.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 8 | 62.5 |
line | true | false | branch |
---|---|---|---|
21 | 0 | 288 | unless (exists $args{'move'}) |
26 | 0 | 288 | unless ($args{'move'} =~ /^[a-h][1-8][a-h][1-8][qrbn]?$/u) |
31 | 0 | 266 | if (exists $args{'count'} and $args{'count'} and not $args{'count'} =~ /^[1-9][0-9]*$/u) |
37 | 155 | 133 | unless exists $args{'learn'} |