Branch Coverage

blib/lib/Lang/Tree/Builder/Parser.pm
Criterion Covered Total %
branch 30 46 65.2


line true false branch
104 0 1 unless ($$self{'tokenizer'})
112 0 10 if $debug
113 1 9 if ($token eq '(') { }
1 8 elsif ($token eq ')') { }
2 6 elsif ($token eq ',') { }
0 6 elsif ($token eq 'abstract') { }
1 5 elsif ($token eq 'scalar') { }
128 0 1 if ($$self{'tokenizer'}{'error'})
133 0 1 if ($$self{'state'} != 0)
145 1 0 if ($$self{'state'} == 1 or $$self{'state'} == 6) { }
155 0 1 if ($$self{'state'} == 3)
159 1 0 if ($$self{'state'} == 2 or $$self{'state'} == 3 or $$self{'state'} == 4) { }
173 2 0 if ($$self{'state'} == 3)
177 2 0 if ($$self{'state'} == 3 or $$self{'state'} == 4) { }
187 0 0 if ($$self{'state'} == 0) { }
204 1 5 if ($$self{'state'} == 0 or $$self{'state'} == 7) { }
3 2 elsif ($$self{'state'} == 2) { }
1 1 elsif ($$self{'state'} == 3) { }
1 0 elsif ($$self{'state'} == 6) { }
208 0 3 if ($$self{'is_abstract'})
216 0 1 if ($token =~ /:/)
235 1 0 if $$self{'parent'}
239 1 2 $$_[0] eq 'scalar' ? :