Branch Coverage

blib/lib/Algorithm/ConstructDFA.pm
Criterion Covered Total %
branch 35 42 83.3


line true false branch
32 736 18229 unless (exists $cache{$s})
66 18 63 if $seen{$c}++
67 29 34 if &$nullable($c)
77 6961 11980 if $seen{$c}++
78 4048 7932 if &$nullable($c)
86 8 22 &$nullable($_) ? :
105 797 400 if $seen{$src_s}++
108 194 206 if $src_accepts
129 886 355 if $seen{$c}++
151 22 355 unless $reachable{$src}
156 22 355 if $src eq ''
164 120 1047 unless $reachable{$dst}
168 333 834 if (not defined $$r{$o->s2n($dst)}{'Combines'} or $dst eq '')
172 120 213 if $dst eq ''
187 0 30 unless ref $o{'is_nullable'}
188 0 30 unless ref $o{'is_accepting'} or exists $o{'final'}
189 0 30 unless ref $o{'successors'}
190 0 30 unless ref $o{'get_label'}
191 0 30 unless exists $o{'start'}
192 0 30 if ref $o{'is_accepting'} and exists $o{'final'}
194 30 0 if (exists $o{'final'})