blib/lib/DTL/Fast/Expression.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 25 | 64.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
25 | 313 | 1504 | 0 | not $kwargs{'replacement'} || $kwargs{'level'} and $EXPRESSION_CACHE{$expression} |
123 | 1 | 0 | 186 | scalar @result and ref $result[0] |
130 | 155 | 31 | 0 | not exists $DTL::Fast::OPS_HANDLERS{$token} and exists $DTL::Fast::KNOWN_OPS_PLAIN{$token} |
line | l | !l | condition |
---|---|---|---|
37 | 313 | 137 | $kwargs{'level'} //= 0 |
140 | 186 | 0 | $DTL::Fast::OPS_HANDLERS{$token} || die($self->get_parse_error("there is no processor for $token operator")) |
150 | 1 | 0 | $token // 'undef' |
161 | 1 | 0 | $token // 'undef' |
179 | 1 | 0 | $token // 'undef' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
25 | 313 | 0 | 1504 | $kwargs{'replacement'} || $kwargs{'level'} |
192 | 179 | 263 | 0 | $result // $self->get_backup_or_variable($expression) |