Condition Coverage

lib/Games/Checkers/Rules.pm
Criterion Covered Total %
condition 5 16 31.2


and 3 conditions

line !l l&&!r l&&r condition
201 1 0 0 $size_x and $size_y
1 0 0 $size_x and $size_y and "$size_x$size_y" =~ /^\d+$/
203 1 0 0 defined $notation and $notation =~ /^([ANS])([0-3])$/
229 0 0 0 ref $entry eq 'HASH' && defined $entry->{'PDN_GAME_TYPE'}

or 2 conditions

line l !l condition
193 1 0 shift() || 'default'
215 3 0 $variant_rules{$base} || die("Checkers variant '${base}' is unknown\n")