Condition Coverage

blib/lib/Game/Xomb.pm
Criterion Covered Total %
condition 41 169 24.2


and 3 conditions

line !l l&&!r l&&r condition
382 0 0 0 $ani->[1] == 1 and $ani->[5][1] != 10
0 0 0 $ani->[1] == 1 and $ani->[5][1] != 10 and onein(20)
439 0 0 0 defined $obj && @$obj
567 8190 385 5 $r == $row and $c == $col
614 3 0 2 exists $Level_Features[$findex]{'6'} and not $has_ammie
683 4 0 1 $Level == 1 and not $has_ammie
719 1 0 1 defined $Animates[0][4][4] and $Animates[0][4][4][4][0] eq 'Dragonstone'
1202 0 0 0 defined $Sticky and @Visible_Monst || $Animates[0][5][1][1] == 11
1320 487 63 16 $cell->[1] == 11 and onein(4)
1422 0 0 0 not $refresh and defined $FOV
1457 0 0 0 not $seen{$loc}++ and defined $LMap[$row][$col][3]
1561 0 0 0 defined $esc and $esc eq "\e"
1745 0 0 0 defined $LMap[$row][$col][3] and $LMap[$row][$col][3][1] != 0
1747 0 0 0 $hits == 0 and coinflip()
1833 0 0 0 $lmc->[1] == 13 and onein(20)
1877 0 0 0 defined $self->[4][4] and $hp < 100
1925 0 0 0 defined $LMap[$row][$col][3] and $LMap[$row][$col][3][1] != 0
2000 0 0 0 $col == $tcol and $row == $trow
2007 0 0 0 $cell->[1] == 11 and onein(3)

or 2 conditions

line l !l condition
405 0 0 $ani->[5][1][3] // (return)
582 17 3 $Level_Features[$findex]{$floor} // 0

or 3 conditions

line l !l&&r !l&&!r condition
360 0 0 0 defined $LMap[$row][$col][2] or defined $LMap[$drow][$dcol][3]
0 0 0 defined $LMap[$row][$col][2] or defined $LMap[$drow][$dcol][3] or $LMap[$row][$col][1][1] == 10
365 0 0 0 $dftype == 9 or $dftype == 10
415 0 0 0 not defined $cols or $cols < 80
524 0 0 0 $status == 1 or $status == -1
980 0 0 0 $command // &$RKFN({"\e", 1, 'q', 1, 'd', 1, 'E', 1})
981 0 0 0 $key eq "\e" or $key eq 'q'
996 0 0 0 $drop eq "\e" or $drop eq 'q'
1012 0 0 0 $use eq "\e" or $use eq 'q'
1034 0 0 0 $dcol < 0 or $dcol >= 78
0 0 0 $dcol < 0 or $dcol >= 78 or $drow < 0
0 0 0 $dcol < 0 or $dcol >= 78 or $drow < 0 or $drow >= 22
1042 0 0 0 @Visible_Monst or abort_run(@$lmc->[0][0, 1], $dcol, $drow)
1132 0 0 0 $command // &$RKFN({"\e", 1, 'q', 1, "\t", 1, 'h', 1, 'j', 1, 'k', 1, 'l', 1, 'y', 1, 'u', 1, 'b', 1, 'n', 1, 'H', 1, 'J', 1, 'K', 1, 'L', 1, 'Y', 1, 'U', 1, 'B', 1, 'N', 1})
1154 0 0 0 $key eq "\e" or $key eq 'q'
1202 0 0 0 @Visible_Monst || $Animates[0][5][1][1] == 11
1320 70 24 566 $cell->[1] == 13 or $cell->[1] == 8
94 302 264 $cell->[1] == 13 or $cell->[1] == 8 or $cell->[1] == 11 and onein(4)
1345 4 409 5965 $ncol < 0 or $ncol >= 78
413 43 5922 $ncol < 0 or $ncol >= 78 or $nrow < 0
452 442 5480 $ncol < 0 or $ncol >= 78 or $nrow < 0 or $nrow >= 22
1388 0 0 0 $depth >= $max or not @$spread
1411 0 0 0 $seen->{$adj} or not exists $Visible_Cell{$loc}
1548 0 0 0 $lmc->[2] // $lmc->[1]
1637 0 0 0 $key eq "\e" or $key eq 'q'
1706 0 0 0 $seen{$loc}++ or not exists $Visible_Cell{$loc}
0 0 0 $seen{$loc}++ or not exists $Visible_Cell{$loc} or irand(10) < 8
2007 0 0 0 defined $LMap[$row][$col][3] or $cell->[1] == 13
0 0 0 defined $LMap[$row][$col][3] or $cell->[1] == 13 or $cell->[1] == 12
0 0 0 defined $LMap[$row][$col][3] or $cell->[1] == 13 or $cell->[1] == 12 or $cell->[1] == 11 and onein(3)
2021 0 0 0 $hits < 1 or not @path
2037 1 1 0 $loot->[$i][1] == 7 or $loot->[$i][1] == 6
2052 0 1 0 $veg->[1] == 7 or $veg->[1] == 6
2067 6 3 79 $ac < 0 or $ac >= 78
9 5 74 $ac < 0 or $ac >= 78 or $ar < 0
8 2 72 $ac < 0 or $ac >= 78 or $ar < 0 or $ar >= 22