blib/lib/NetHack/FOV.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 20 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
61 | 5018 | 29412 | 0 | $self->_clear($hs * $right_edge, $row) == $left_clear and $left_clear || $right_edge <= $right_mark + 1 |
117 | 2570 | 92 | 307 | $left == $right and $left == 0 |
2662 | 241 | 66 | $left == $right and $left == 0 and not $self->_clear($hs, $row) | |
333 | 0 | 66 | $left == $right and $left == 0 and not $self->_clear($hs, $row) and $left != $rail |
line | l | !l | condition |
---|---|---|---|
170 | 0 | 352 | $$self{'cbo'} ||= sub { my($x, $y) = @_; $visible[$x][$y] = 1 unless $x < 0 or $y < 0; } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
61 | 17287 | 10681 | 1444 | $left_clear || $right_edge <= $right_mark + 1 |
170 | 0 | 0 | 26899 | $x < 0 or $y < 0 |