blib/lib/DTL/Fast/Replacer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 11 | 63.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
16 | 713 | 373 | 0 | $self->{'replacement'} and $self->{'replacement'}->isa('DTL::Fast::Replacer::Replacement') |
line | l | !l | condition |
---|---|---|---|
64 | 329 | 0 | $current_level //= -1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
56 | 189 | 785 | 0 | $self->get_backup($token) // 'DTL::Fast::Variable'->new($token, 'replacement', $self->{'replacement'}) |
69 | 27 | 302 | 0 | $self->get_backup($token) // 'DTL::Fast::Expression'->new($token, 'replacement', $self->{'replacement'}, 'level', $current_level + 1) |