blib/lib/Games/Terrain/DiamondSquare.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 12 | 58.3 |
line | true | false | branch |
---|---|---|---|
38 | 2389 | 7168 | if ($height > 1 or $width > 1) { } |
78 | 0 | 7168 | if ($height == 2) |
81 | 0 | 7168 | if ($width == 2) |
84 | 0 | 7168 | if ($height == 2 and $width == 2) |
94 | 0 | 11945 | $num > 1 ? : |
0 | 11945 | $num < 0 ? : |