Condition Coverage

blib/lib/Games/Go/Referee.pm
Criterion Covered Total %
condition 33 70 47.1


and 3 conditions

line !l l&&!r l&&r condition
125 0 0 0 defined $debug and $debug =~ /0|1/
181 0 0 2 $value =~ /\d+/o and $value > 0
449 36 112 0 $what ne '.' and $$self{'_cellfarm'}{$where} ne '.'
521 300 200 32 keys %{$points;} and not $haslibs
545 106 0 4 $colour eq $$self{'_colour'} and $$self{'_const'}{'alternation'}
546 4 0 0 $id <= $$self{'_const'}{'handicap'} and $$self{'_const'}{'hfree'}
557 102 0 2 $$self{'_passcount'} >= $$self{'_const'}{'passes'} and $$self{'_const'}{'passcount'}
636 80 0 4 $capturedsomething and not $$self{'_const'}{'selfcapture'}
880 216 0 0 $move eq 'tt' and $$self{'_const'}{'size'} < 19
895 0 0 0 (shift()) =~ /^[a-z]([1-9]\d?)$/i and 1 <= $1
944 0 0 0 $x eq '' and $y eq ''
949 0 0 0 $_[0] eq '' and $_[1] eq ''

or 2 conditions

line l !l condition
114 2 0 $size ||= 19
379 0 0 $$self{'_cellfarm'}{$xnew . ',' . $ynew} || '-'

or 3 conditions

line l !l&&r !l&&!r condition
13 0 1 0 ref $this || $this
73 110 2 0 ismove($node) or issetup($node)
170 1 0 0 $format eq 'sgf' or $format eq 'gtp'
213 0 0 0 $colour eq 'B' or $colour eq 'W'
324 0 0 0 $id ||= $$self{'_nodecount'}
489 454 130 984 $haslibs or offboard($$self{'_const'}{'size'}, $x, $y)
652 56 54 136 $_ eq 'B' or $_ eq 'W'
880 2 0 216 $move eq '' or $move eq 'tt' and $$self{'_const'}{'size'} < 19
954 8 82 1136 0 > $_[1] or $_[1] > $_[0]
90 6 1130 0 > $_[1] or $_[1] > $_[0] or 0 > $_[2]