Branch Coverage

blib/lib/Games/Sudoku/Component/Controller.pm
Criterion Covered Total %
branch 25 32 78.1


line true false branch
18 0 6 ref $_[0] ? :
58 6 30 if $item->value
90 21 460 unless defined $item
106 7 534 if $status->is_null
109 469 72 if ($status->is_ok)
112 21 448 unless ($result)
113 7 14 if ($$this{'table'}->is_finished) { }
117 12 2 if ($status->can_rewind) { }
121 2 0 if ($status->can_retry) { }
132 84 457 if ($status->is_rewind)
135 84 0 if ($result) { }
136 12 72 if ($result->allowed)
142 0 0 if ($status->can_retry) { }
169 0 2 if $count > $size ** 2 or $count < 1
177 22 40 unless $table->cell($row, $col)->value
193 206 0 if defined $item