blib/lib/Parse/Eyapp/Parse.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 31 | 50 | 62.0 |
line | l | !l | condition |
---|---|---|---|
2639 | 42 | 464 | $defaultaction && [@$defaultaction] |
2742 | 0 | 8 | $defaultaction && [@$defaultaction] |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
90 | 0 | 0 | 71 | defined $id && $id =~ /^[a-zA-Z_][[a-zA-Z_0-9]*$/ |
98 | 135 | 0 | 15 | UNIVERSAL::isa($code, 'ARRAY') && exists $$code[2] && $$code[2] eq 'BEGINCODE' |
138 | 1266 | 4 | 14 | $$value[0] eq 'CODE' and $metatree |
182 | 26 | 475 | 44 | $tree and $alias |
501 | 8 | 36 | $tree and $alias and defined $name | |
483 | 0 | 36 | $tree and $alias and defined $name and $$name[0] =~ /^[a-zA-Z_]\w*$/ | |
2643 | 4 | 320 | 182 | defined $rhs and $$rhs[-1][0] eq 'CODE' |
2747 | 0 | 8 | 0 | defined $rhs and $$rhs[-1][0] eq 'CODE' |
line | l | !l | condition |
---|---|---|---|
132 | 557 | 4 | shift() || [] |
159 | 34 | 2 | shift() || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
133 | 2 | 555 | 4 | shift() || @$rhs |
138 | 14 | 0 | 1270 | $$value[0] eq 'CODE' and $metatree or $$value[0] eq 'CONFLICTHANDLER' |
1895 | 0 | 0 | 238 | exists $$nterm{$symbol} or $$term{$symbol} |
2554 | 0 | 0 | 0 | $_ eq 'error' or $$term{$_} |
0 | 0 | 0 | $_ eq 'error' or $$term{$_} or exists $$nterm{$_} | |
0 | 0 | 0 | $_ eq 'error' or $$term{$_} or exists $$nterm{$_} or exists $conflict{$_} |