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