blib/lib/Parse/Eyapp/Parse.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 31 | 50 | 62.0 |
line | l | !l | condition |
---|---|---|---|
2706 | 42 | 464 | $defaultaction && [@$defaultaction] |
2809 | 0 | 8 | $defaultaction && [@$defaultaction] |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
102 | 0 | 0 | 71 | defined $id && $id =~ /^[a-zA-Z_][[a-zA-Z_0-9]*$/ |
110 | 130 | 0 | 15 | UNIVERSAL::isa($code, 'ARRAY') && exists $code->[2] && $code->[2] eq 'BEGINCODE' |
150 | 1266 | 4 | 14 | $value->[0] eq 'CODE' and $metatree |
194 | 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*$/ | |
2710 | 4 | 320 | 182 | defined $rhs and $rhs->[-1][0] eq 'CODE' |
2814 | 0 | 8 | 0 | defined $rhs and $rhs->[-1][0] eq 'CODE' |
line | l | !l | condition |
---|---|---|---|
144 | 557 | 4 | shift() || [] |
171 | 34 | 2 | shift() || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
145 | 2 | 555 | 4 | shift() || @$rhs |
150 | 14 | 0 | 1270 | $value->[0] eq 'CODE' and $metatree or $value->[0] eq 'CONFLICTHANDLER' |
1962 | 0 | 0 | 238 | exists $nterm->{$symbol} or $term->{$symbol} |
2622 | 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{$_} |