Branch Coverage

blib/lib/Parse/FSM/Driver.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
141 1340 1067 unless @{$self->_head;}
156 698 188 if @{$self->_head;}
204 8 167 if (defined $start_rule) { }
205 1 7 unless $state = $self->_state_table->[0]{$start_rule}
209 0 167 unless $state = $self->_start_state
228 2286 286 $token ? :
1969 603 if ($entry = $self->_state_table->[$state]{$token ? $$token[0] : ''}) { }
521 82 elsif ($entry = $self->_state_table->[$state]{'__else__'}) { }
238 1411 1079 if (ref $entry eq 'ARRAY') { }
246 725 354 unless ($found_else)
247 654 71 if $token
256 108 1352 unless (@stack)
264 1242 110 if defined $value
278 75 9 scalar @expected == 1 ? :
36 48 defined $token ? :
289 0 131 unless defined $token
290 18 113 if $token eq ''
291 24 89 if $token =~ /\W/