Branch Coverage

blib/lib/Games/Sudoku/Component/Base.pm
Criterion Covered Total %
branch 12 24 50.0


line true false branch
13 0 1145 ref $_[0] ? :
19 1133 12 if ($bl_width and $bl_height and ($bl_width and $bl_height)) { }
5 7 elsif ($size and $size == int(sqrt $size) ** 2) { }
0 7 elsif ($size or $bl_width or $bl_height) { }
26 0 0 if $size
27 0 0 if $bl_width or $bl_height
51 0 311411 unless defined $value
52 0 311411 if $value > $$this{'size'} or $value < 1
60 0 868 unless defined $value
61 0 868 if $value > $$this{'size'} or $value < 0
69 0 66154 unless $this->_check($row)
70 0 66154 unless $this->_check($col)