blib/lib/Games/SGF/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 24 | 95.8 |
line | true | false | branch |
---|---|---|---|
56 | 2 | 1 | if ($sgf) { } |
110 | 15 | 6 | if $last == -1 |
112 | 12 | 9 | if ($last < $sgf->branches and $sgf->gotoBranch(++$last)) { } |
6 | 3 | elsif (@branches > 0) { } | |
153 | 11 | 4 | if ($values) |
154 | 8 | 3 | if ($callback) |
157 | 7 | 1 | if (defined $ret) |
192 | 1 | 0 | unless $isRec |
200 | 1 | 6 | if ($sgf->getTagType($t) & $sgf->T_GAME_INFO) |
204 | 1 | 2 | if (keys %$game) |
207 | 2 | 1 | if $sgf->next |
233 | 1 | 4 | if ($sgf) |