| blib/lib/Games/Solitaire/Verify/Golf.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 23 | 28 | 82.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 173 | 103 | 96 | 39 | $IS_GOLF and $move_line =~ /\ADeal talon\z/ |
| 252 | 102 | 35 | 61 | $IS_GOLF and not $self->_wrap_ranks |
| 137 | 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 |
|---|---|---|---|
| 51 | 2 | 3 | $args->{'queens_on_kings'} // '' |
| 52 | 3 | 2 | $args->{'wrap_ranks'} // '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 164 | 3 | 1 | 1 | $IS_GOLF || $self->_variant eq 'black_hole' |
| 193 | 0 | 0 | 199 | $col_idx < 0 or $col_idx >= $NUM_COLUMNS |
| 252 | 188 | 10 | 0 | $delta == 1 || $delta == $MAX_RANK - 1 |
| 0 | 1 | 60 | ($self->_place_queens_on_kings ? $found_rank == $MAX_RANK : 0) || $delta != 1 | |
| 0 | 1 | 197 | 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 |