Condition Coverage

blib/lib/Parse/Earley.pm
Criterion Covered Total %
condition 25 60 41.6


and 3 conditions

line !l l&&!r l&&r condition
252 20 0 6 $$_{'lhs'} eq $rule and $$_{'dot'} == @{$$_{'rule'};}
290 105 0 21 $$_{'rule'} == $m and $$_{'lhs'} eq $$p{'match'}
105 2 19 $$_{'rule'} == $m and $$_{'lhs'} eq $$p{'match'} and $$_{'dot'} == 0
2 0 19 $$_{'rule'} == $m and $$_{'lhs'} eq $$p{'match'} and $$_{'dot'} == 0 and $$_{'pos'} == $$state{'pos'}
331 0 10 19 $res and $tok eq $$p{'match'}
340 0 0 0 $$_{'rule'} == $$push{'rule'} and $$_{'lhs'} eq $$push{'lhs'}
0 0 0 $$_{'rule'} == $$push{'rule'} and $$_{'lhs'} eq $$push{'lhs'} and $$_{'dot'} == $$push{'dot'}
0 0 0 $$_{'rule'} == $$push{'rule'} and $$_{'lhs'} eq $$push{'lhs'} and $$_{'dot'} == $$push{'dot'} and $$_{'pos'} == $$push{'pos'}
369 0 0 0 $$_{'rule'} == $$push{'rule'} and $$_{'lhs'} eq $$push{'lhs'}
0 0 0 $$_{'rule'} == $$push{'rule'} and $$_{'lhs'} eq $$push{'lhs'} and $$_{'dot'} == $$push{'dot'}
0 0 0 $$_{'rule'} == $$push{'rule'} and $$_{'lhs'} eq $$push{'lhs'} and $$_{'dot'} == $$push{'dot'} and $$_{'pos'} == $$push{'pos'}
386 0 0 286 exists $$_{'rule'}[$$_{'dot'}] && $$_{'rule'}[$$_{'dot'}]{'match'}
394 127 0 22 $$_{'rule'} == $$m{'rule'} and $$_{'lhs'} eq $$m{'lhs'}
127 19 3 $$_{'rule'} == $$m{'rule'} and $$_{'lhs'} eq $$m{'lhs'} and $$_{'dot'} == $$m{'dot'} + 1
19 0 3 $$_{'rule'} == $$m{'rule'} and $$_{'lhs'} eq $$m{'lhs'} and $$_{'dot'} == $$m{'dot'} + 1 and $$_{'pos'} == $$state{'pos'}
421 2 0 0 grep {$_ == $state;} @{$$_{'down'};} and grep {$_ == $m;} @{$$_{'left'};}

or 3 conditions

line l !l&&r !l&&!r condition
86 4 1 65 m[^/(.*)/$] or /^m.(.*).$/
9 55 0 /^#/ or /^\s*$/
211 0 0 0 ord $1 < 32 || ord $1 > 127
214 0 0 0 $i < @{$$state{'rule'};} or $i <= $$state{'dot'}