| blib/lib/Language/P/Toy/Opcodes/Regex.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 20 | 85.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 217 | 91 | 57 | 20 | $c > 0 and defined $$op{'group'} |
| 233 | 19 | 141 | 0 | defined $$op{'subgroups_start'} && ($c == 0 || $c >= $$op{'min'}) |
| 236 | 69 | 26 | 65 | $c == 0 and $$op{'min'} > 0 |
| 253 | 126 | 27 | 7 | not $$op{'greedy'} and $c >= $$op{'min'} |
| 312 | 2 | 3 | 0 | $$cxt{'pos'} != $$cxt{'length'} and $$cxt{'pos'} != $$cxt{'length'} - 1 || substr($$cxt{'string'}, -1, 1) ne "\n" |
| line | l | !l | condition |
|---|---|---|---|
| 42 | 30 | 3 | $$cxt{'capt'}[$i] || [-1, -1] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 312 | 0 | 1 | 2 | $$cxt{'pos'} != $$cxt{'length'} - 1 || substr($$cxt{'string'}, -1, 1) ne "\n" |