blib/lib/Marpa/PP/Recognizer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 53 | 79 | 67.0 |
line | l | !l | condition |
---|---|---|---|
1246 | 70 | 0 | $$recce[6] and scalar @{$tokens;} |
1250 | 70 | 0 | $$recce[7] and scalar @{$tokens;} |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
228 | 179 | 9 | 0 | $$grammar[7] and $$recce[21] ne 'none' |
188 | 0 | 0 | $$grammar[7] and $$recce[21] ne 'none' and not $$grammar[6] | |
643 | 0 | 109 | 242 | defined $links and @{$links;} |
675 | 27 | 286 | 38 | defined $leo_links and @{$leo_links;} |
1057 | 0 | 1961 | 0 | defined $symbol_name and $$terminal_names{$symbol_name} |
1178 | 0 | 60 | 1897 | $accepted and $target_ix > $$recce[4] |
1526 | 0 | 22048 | 0 | $too_many_earley_items >= 0 and (my $item_count = scalar @{$earley_items;}) >= $too_many_earley_items |
1749 | 1880 | 20142 | 26 | scalar @terminals_expected <= 0 && $earleme_to_complete >= $$recce[4] |
line | l | !l | condition |
---|---|---|---|
242 | 3 | 185 | $$recce[32] // 0 |
244 | 0 | 188 | $$recce[17] // 0 |
373 | 0 | 0 | "ref to $ref_type" || 'non-reference' |
790 | 12 | 0 | $$recce[5] // 'stripped' |
928 | 26 | 4 | $$earley_item[3] // [] |
1019 | 1961 | 0 | $recce_class //= 'not defined' |
1065 | 140 | 1821 | $length //= 1 |
1101 | 50 | 1909 | $$earley_set_list[$target_ix] //= [] |
1102 | 50 | 1909 | $$target_earley_set[1] //= [] |
1104 | 50 | 1909 | $$target_earley_set[2] //= {} |
1208 | 70 | 0 | $recce_class //= 'not defined' |
1257 | 0 | 70 | $token_ix_ref //= \(my $token_ix = 0) |
1322 | 15 | 4 | $offset //= 1 |
1404 | 5 | 22043 | $$recce[32] // 0 |
1410 | 1906 | 20142 | $$earley_set_list[$earleme_to_complete] //= [] |
1411 | 1906 | 20142 | $$earley_set[1] //= [] |
1413 | 1906 | 20142 | $$earley_set[2] //= {} |
1415 | 0 | 22048 | $$earley_set[3] //= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
372 | 0 | 0 | 251 | not $ref_type or $ref_type ne 'HASH' |
668 | 4 | 26 | 0 | $$a[0] <=> $$b[0] or $$a[1] <=> $$b[1] |
692 | 4 | 5 | 0 | $$a[0] <=> $$b[0] or $$a[1] <=> $$b[1] |
829 | 0 | 0 | 2 | $start_ordinal < 0 or $start_ordinal > $last_ordinal |
991 | 0 | 49 | 16 | $original_position //= $marpa_position |