lib/Games/Nonogram/Clue.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 18 | 55.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
280 | 6 | 13 | 1 | $left > 1 and $self->line->value($left - 1) == 1 |
299 | 5 | 14 | 0 | $right < $self->size and $self->line->value($right + 1) == 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
280 | 0 | 0 | 20 | $self->line->value($left) == 0 or $left > 1 and $self->line->value($left - 1) == 1 |
299 | 2 | 0 | 19 | $self->line->value($right) == 0 or $right < $self->size and $self->line->value($right + 1) == 1 |
319 | 1 | 8 | 0 | $from ||= $ct |
336 | 0 | 0 | 0 | $from ||= $ct |