| blib/lib/Games/Solitaire/Verify/Golf.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 23 | 28 | 82.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 206 | 205 | 96 | 39 | $IS_GOLF and $move_line =~ /\ADeal talon\z/u |
| 306 | 204 | 35 | 61 | $IS_GOLF and not $self->_wrap_ranks |
| 239 | 60 | 1 | $IS_GOLF and not $self->_wrap_ranks and ($self->_place_queens_on_kings ? $found_rank == $MAX_RANK : 0) || $delta != 1 |
| line | l | !l | condition |
|---|---|---|---|
| 99 | 2 | 4 | $args->{'queens_on_kings'} // "" |
| 100 | 3 | 3 | $args->{'wrap_ranks'} // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 184 | 3 | 1 | 2 | $IS_GOLF || $self->_variant eq 'black_hole' |
| 239 | 0 | 0 | 301 | $col_idx < 0 or $col_idx >= $NUM_COLUMNS |
| 306 | 283 | 17 | 0 | $delta == 1 || $delta == $MAX_RANK - 1 |
| 0 | 1 | 60 | ($self->_place_queens_on_kings ? $found_rank == $MAX_RANK : 0) || $delta != 1 | |
| 0 | 1 | 299 | not $delta == 1 || $delta == $MAX_RANK - 1 or $IS_GOLF and not $self->_wrap_ranks and ($self->_place_queens_on_kings ? $found_rank == $MAX_RANK : 0) || $delta != 1 |