lib/Games/Checkers/Rules.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 22 | 36.3 |
line | true | false | branch |
---|---|---|---|
199 | 0 | 0 | $starting_color eq 'W' ? : |
0 | 1 | if defined $starting_color | |
201 | 0 | 0 | if $size_x and $size_y and "$size_x$size_y" =~ /^\d+$/ |
203 | 0 | 0 | $1 eq 'N' ? : |
0 | 1 | if defined $notation and $notation =~ /^([ANS])([0-3])$/ | |
205 | 0 | 0 | $invert ? : |
0 | 1 | if defined $invert | |
210 | 0 | 16 | defined $params{$_} ? : |
216 | 1 | 2 | unless ref $rules |
218 | 18 | 7 | unless defined $main::RULES{$_} |
229 | 0 | 0 | ref $entry eq 'HASH' && defined $entry->{'PDN_GAME_TYPE'} ? : |