Condition Coverage

blib/lib/DTL/Fast/Parser.pm
Criterion Covered Total %
condition 11 22 50.0


and 3 conditions

line !l l&&!r l&&r condition
116 790 59 0 not exists $DTL::Fast::TAG_HANDLERS{$tag_name} and exists $DTL::Fast::KNOWN_TAGS{$tag_name}
140 4 0 2 $self->isa('DTL::Fast::Tag') and not $self->isa('DTL::Fast::Tag::Simple')

or 2 conditions

line l !l condition
24 0 1805 $kwargs{'safe'} //= 0
145 2 0 $tag_name // 'undef'
2 0 $DTL::Fast::Template::CURRENT_TEMPLATE_LINE // 'unknown'
161 4 0 $tag_name // 'undef'
4 0 $DTL::Fast::Template::CURRENT_TEMPLATE_LINE // 'unknown'

or 3 conditions

line l !l&&r !l&&!r condition
16 0 0 1805 not $kwargs{'dirs'} or ref $kwargs{'dirs'} ne 'ARRAY'
21 0 0 1805 not $kwargs{'raw_chunks'} or ref $kwargs{'raw_chunks'} ne 'ARRAY'