Branch Coverage

blib/lib/FLAT/Legacy/FA/DFA.pm
Criterion Covered Total %
branch 25 106 23.5


line true false branch
28 0 0 if (not defined $symbol) { }
52 0 0 if (-e $file)
72 0 0 if (/^\s*([\w\d]*)\s*:\s*$/) { }
0 0 elsif (/^\s*([\w\d]*)\s*([\w\d,]*)\s*$/ and not /^$/) { }
0 0 elsif (/^\s*([\w\d]*)\s*::\s*([\w\d,]*)\s*$/ and not /^$/) { }
85 0 0 if ($1 =~ /START/i) { }
0 0 elsif ($1 =~ /FINAL/i) { }
137 4575 69104 if $y eq $state
162 28622 1354 if ($state ne $oldname)
168 0 1354 if ($self->is_start($oldname))
175 1101 36016 if ($self->{'_TRANSITIONS'}{$state}{$symbol} eq $oldname)
179 1763 35354 if ($state eq $oldname)
183 1354 28622 if ($state eq $oldname)
191 88 3305 if ($_ eq $oldname)
192 88 0 if ($self->is_final($newname)) { }
205 1697 337 unless ($self->is_final($_))
224 2541 1515 if ($self->has_transition_on($group_state, $symbol))
229 2034 0 if (defined $mygroup)
230 680 1354 unless (defined $PI2{$mygroup})
255 0 2701 if (defined $trans)
271 0 0 if ($del_state eq $self->get_start)
275 0 0 if ($self->is_final($del_state))
279 0 0 if ($f eq $del_state)
288 0 0 if ($f ne $del_state)
293 0 0 if (defined $self->{'_TRANSITIONS'}{$del_state})
300 0 0 if (defined $trans)
301 0 0 if ($trans eq $del_state)
316 0 0 if (not $self->is_state($newname)) { }
317 0 0 if ($self->is_state($oldname)) { }
321 0 0 if ($_ eq $oldname)
328 0 0 if ($self->is_start($oldname))
335 0 0 if ($self->{'_TRANSITIONS'}{$state}{$symbol} eq $oldname)
339 0 0 if ($state eq $oldname)
343 0 0 if ($state eq $oldname)
351 0 0 if ($_ eq $oldname)
373 0 0 if ($self->is_symbol($oldsymbol) and $newsymbol ne $oldsymbol) { }
377 0 0 if ($_ eq $oldsymbol)
387 0 0 if ($symbol eq $oldsymbol)
412 2541 2701 if ($self->is_state($state) and $self->is_symbol($symbol))
413 2541 0 if (defined $self->{'_TRANSITIONS'}{$state}{$symbol})
430 0 0 if ($self->is_final($state))
437 0 0 if (defined $self->{'_TRANSITIONS'}{$state}{$symbol})
468 0 0 if ($self->is_final($self->{'_TRANSITIONS'}{$state}{$i}))
501 0 0 if (defined $curr)
505 0 0 if ($self->is_symbol($s)) { }
508 0 0 unless (defined $curr)
520 0 0 if (not @symbols and $self->is_final($curr) and not $bad)
535 0 0 if (defined $curr)
539 0 0 if ($self->is_symbol($s)) { }
543 0 0 unless (defined $curr)
563 0 0 if (defined $curr)
567 0 0 if ($self->is_symbol($s)) { }
571 0 0 unless (defined $curr)