| lib/Jinja2/TT2/Tokenizer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 18 | 61.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 168 | 56 | 5 | 29 | $idx >= 0 and $idx < $text_end |
| line | l | !l | condition |
|---|---|---|---|
| 66 | 0 | 3 | $opts{'block_start'} // "{%" |
| 0 | 3 | $opts{'block_end'} // "%}" | |
| 0 | 3 | $opts{'variable_start'} // "{{" | |
| 0 | 3 | $opts{'variable_end'} // "}}" | |
| 0 | 3 | $opts{'comment_start'} // "{#" | |
| 0 | 3 | $opts{'comment_end'} // "#}" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 200 | 109 | 0 | 359 | $remaining =~ /^\s*-?$end_re/u or $remaining =~ /^\s*$end_re/u |