Branch Coverage

blib/lib/Games/Sudoku/CLI.pm
Criterion Covered Total %
branch 2 14 14.2


line true false branch
26 0 1 if ($self->{'input'} eq 'x')
30 1 0 if ($self->{'input'} eq 'q')
36 0 0 if ($self->{'ctrl'}->table->is_finished)
60 0 0 if ($self->{'input'} =~ /^[xq]$/)
66 0 0 unless (defined $value)
70 0 0 if ($row > 9 or $col > 9 or $value > 9)
74 0 0 unless ($self->{'ctrl'}->table->cell($row, $col)->is_allowed($value))