| blib/lib/Text/MustacheTemplate/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 19 | 20 | 100.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 77 | 98 | 523 | 54 | $prev != 1 and _needs_trim_around_whitespaces($tokens[$prev - 1]) |
| 99 | 12 | 61 | 1 | $next != $#tokens and _needs_trim_around_whitespaces($tokens[$next + 1]) |
| 239 | 0 | 9 | 2 | $src =~ /$/cgmosu and pos $src <= $curr |
| line | l | !l | condition |
|---|---|---|---|
| 247 | 1 | 8 | $start || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 81 | 158 | 112 | 351 | !defined($before_prev_token) || $before_prev_token->[0] == 1 || $before_prev_token->[0] == 0 && $before_prev_token->[2] =~ /[\r\n]\z/amno |
| 103 | 12 | 43 | 18 | !defined($after_next_token) || $after_next_token->[0] == 0 && $after_next_token->[2] =~ /\A[\r\n]/amno |
| 126 | 39 | 26 | 864 | $tag_type eq "{" or $tag_type eq "&" |