line | % | coverage | branch |
10 | 100 | T | F | if defined $rule |
23 | 100 | T | F | unless ($rule =~ /^\s*\[(\d+)\]\s*([A-Z][a-zA-Z]*)\s*::=/) |
49 | 100 | T | F | if ($rule =~ /^'([^']+)'/) { } |
| 100 | T | F | elsif ($rule =~ /^"([^"]+)"/) { } |
| 100 | T | F | elsif ($rule =~ /^\|/) { } |
| 100 | T | F | elsif ($rule =~ /^([A-Z][a-zA-Z]*)/) { } |
| 100 | T | F | elsif ($rule =~ /^\[(\^?)(([^\]]|\\\])+)\]/) { } |
| 50 | T | F | elsif ($rule =~ /^\[(([^\]]|\\\])+)\]/) { } |
| 100 | T | F | elsif ($rule =~ /^\*/) { } |
| 100 | T | F | elsif ($rule =~ /^\+/) { } |
| 100 | T | F | elsif ($rule =~ /^\?/) { } |
| 100 | T | F | elsif ($rule =~ /^\(/) { } |
| 100 | T | F | elsif ($rule =~ /^\)/) { } |
| 50 | T | F | elsif ($rule =~ /^\-/) { } |
| 50 | T | F | elsif ($rule =~ /^#x([0-9a-f]+)/i) { } |
88 | 100 | T | F | if ($inner =~ /^#x([0-9a-f]+)-#x([0-9a-f]+)/i) { } |
| 100 | T | F | elsif ($inner =~ /^#x([0-9a-f]+)/i) { } |
| 100 | T | F | elsif ($inner =~ /^([^-])-([^-])/i) { } |
| 50 | T | F | elsif ($inner =~ /^([^-])/i) { } |
198 | 50 | T | F | unless $self->produce_groups($base) |
205 | 50 | T | F | unless ($base->reduce_alternations) |
210 | 50 | T | F | unless ($base->reduce_repetition) |
217 | 50 | T | F | unless ($base->reduce_empty) |
222 | 50 | T | F | unless ($base->reduce_rx) |
233 | 50 | T | F | if (hex $char > 255) { } |
251 | 100 | T | F | if ($$token{'type'} eq 'group start') { } |
| 100 | T | F | elsif ($$token{'type'} eq 'group end') { } |
266 | 50 | T | F | if (not defined $current) |
282 | 100 | T | F | $$self{'error'} ? : |
287 | 0 | T | F | $$self{'error'} ? : |