Condition Coverage

blib/lib/Dotiac/DTL/Addon/html_template_pure.pm
Criterion Covered Total %
condition 29 38 76.3


and 2 conditions

line l !l condition
226 0 42 $$found = $tagname and return 'Dotiac::DTL::Tag'->new($pre)

and 3 conditions

line !l l&&!r l&&r condition
48 0 0 0 defined $o and exists $OPTIONS{$a}
83 2 6 3 $f eq $e and $f eq '"'
104 64 102 16 not $opts{'escape'} and $OPTIONS{'default_escape'}
166 8 8 not $opts{'escape'} and $OPTIONS{'default_escape'} and lc $OPTIONS{'default_escape'} ne 'html'
224 178 24 10 $end and $tag eq 'loop'
225 178 27 7 $end and $tag eq 'unless'
226 134 36 42 $found and grep {$_ eq $tagname;} @end

or 3 conditions

line l !l&&r !l&&!r condition
83 3 6 2 $f eq $e and $f eq '"' or $f eq q[']
118 11 0 66 $v eq '0' or $v eq ''
11 0 66 $v eq '0' or $v eq '' or $v eq 'off'
0 6 60 $v eq '0' or $v eq '' or $v eq 'off' or $v eq 'none'
174 2 0 0 eval { do { my $tem = 'Dotiac::DTL'->safenew($name); return bless({'content', $$tem{'first'}, 'load', $name, 'p', $pre}, 'Dotiac::DTL::Tag::include') } } || 'Dotiac::DTL::Addon::html_template::Variable'->new($pre, '``', [])