Branch Coverage

blib/lib/Games/Go/AGA/Parse/TDList.pm
Criterion Covered Total %
branch 25 52 48.0


line true false branch
32 0 9 if (@_ > 1)
41 0 9 if (@_ > 1)
50 0 9 if (@_ > 1)
59 0 9 if (@_ > 1)
68 9 18 if (@_ > 1)
70 5 4 if is_Rating($new)
78 0 9 if (@_ > 1)
87 0 9 if (@_ > 1)
96 0 9 if (@_ > 1)
105 0 9 if (@_ > 1)
128 0 0 wantarray ? :
148 0 9 wantarray ? :
334 0 12 unless $string
347 0 156 if ($token eq "\n") { }
67 89 elsif (not $token =~ /\S/ or $token eq '') { }
0 89 elsif ($token eq '#') { }
89 0 elsif (exists $state_functions{$state}) { }
0 0 elsif ($state == $EXTRA) { }
355 0 0 if ($state ne $FIRST_NAME)
362 0 0 if $iter->hasNextToken
370 0 0 if ($iter->hasNextToken)
384 0 1 if (length $$self{'state'} == 0 and length $$self{'club'} == 2 and uc $$self{'club'} eq $$self{'club'})
390 0 1 if (not $$self{'id'} and @{$$self{'first_name'};} > 1 and $$self{'first_name'}[-1] =~ /\d/)
397 0 9 if ($self->rank eq '' and is_Rank_or_Rating($$self{'id'}))
403 8 1 if $$self{'id'}
404 0 9 if lc $$self{'club'} eq 'none'