Branch Coverage

blib/lib/Games/Go/AGA/Parse/Round.pm
Criterion Covered Total %
branch 28 50 56.0


line true false branch
31 0 2 if (@_ > 1)
40 0 1 if (@_ > 1)
49 0 1 if (@_ > 1)
58 0 1 if (@_ > 1)
61 1 0 defined $$self{'handicap'} ? :
67 0 1 if (@_ > 1)
70 1 0 defined $$self{'komi'} ? :
76 0 1 if (@_ > 1)
86 0 0 if ($self->white_id) { }
0 0 elsif (exists $$self{'comment'}) { }
103 0 0 wantarray ? :
110 1 0 if ($self->white_id) { }
0 0 elsif (exists $$self{'comment'}) { }
127 0 1 wantarray ? :
157 0 2 unless $string
172 0 20 if ($token eq "\n") { }
9 11 elsif (not $token =~ /\S/ or $token eq '') { }
2 9 elsif ($token eq '#') { }
180 1 1 if ($state != $WHITE_ID)
191 2 7 if ($state == $WHITE_ID) { }
2 5 elsif ($state == $BLACK_ID) { }
2 3 elsif ($state == $RESULT) { }
2 1 elsif ($state == $HANDICAP) { }
1 0 elsif ($state == $KOMI) { }
220 0 1 if ($state != $WHITE_ID)