blib/lib/Games/Sudoku/Component/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 36 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
19 | 12 | 0 | 1133 | $bl_width and $bl_height |
0 | 0 | 1133 | $bl_width and $bl_height | |
12 | 1133 | 0 | $bl_width and $bl_height and ($bl_width and $bl_height) | |
7 | 0 | 5 | $size and $size == int(sqrt $size) ** 2 |
line | l | !l | condition |
---|---|---|---|
15 | 5 | 1140 | $options{'size'} || 0 |
16 | 1133 | 12 | $options{'block_width'} || 0 |
17 | 1133 | 12 | $options{'block_height'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
11 | 0 | 1145 | 0 | ref $class || $class |
19 | 0 | 0 | 7 | $size or $bl_width |
0 | 0 | 7 | $size or $bl_width or $bl_height | |
27 | 0 | 0 | 0 | $bl_width or $bl_height |
52 | 0 | 0 | 311411 | $value > $$this{'size'} or $value < 1 |
61 | 0 | 0 | 868 | $value > $$this{'size'} or $value < 0 |