Branch Coverage

blib/lib/FLAT/NFA.pm
Criterion Covered Total %
branch 8 48 16.6


line true false branch
33 0 0 if (not defined $char) { }
0 0 elsif ($char eq '') { }
132 0 18 if grep {$self->is_accepting($_);} @queue
142 0 0 if @alphabet == 0
158 0 0 if grep {$s eq $_;} @next
182 0 0 unless @active
206 12 0 unless keys %alpha
210 0 0 if $state eq $trash
239 17 132 if grep $_, @final{@start}
249 1002 3977 unless (exists $subset{_SET_ID(@to)})
253 280 722 if grep $_, @final{@to}
322 0 0 $self->is_accepting($_) ? :
329 0 0 if (defined $t)
351 0 0 $self->is_starting($_) ? :
0 0 $self->is_accepting($_) ? :
356 0 0 if (defined $t)
358 0 0 $label eq 'epsilon' ? :
372 0 0 $self->is_starting($_) ? :
0 0 $self->is_accepting($_) ? :
379 0 0 if (defined $t)
398 0 0 if (defined $t)
421 0 0 if ($self->is_starting($_))
424 0 0 if ($self->is_accepting($_))
442 0 0 if (defined $t)