Condition Coverage

blib/lib/Template/Stash/AutoEscaping.pm
Criterion Covered Total %
condition 16 24 66.6


and 3 conditions

line !l l&&!r l&&r condition
104 0 32 17 not $ESCAPE_ARGS and ref $args[0] eq 'ARRAY'
32 0 17 not $ESCAPE_ARGS and ref $args[0] eq 'ARRAY' and scalar @{$args[0];} > 2
126 12 22 13 not $ref and length $var > 0

or 2 conditions

line l !l condition
32 3 0 $$self{'method_for_raw'} ||= 'raw'
33 1 2 $$self{'method_for_escape'} ||= 'escape'
34 0 3 $$self{'_raw_string_class'} ||= 'Template::Stash::AutoEscaping::RawString'
35 0 3 $$self{'ignore_escape'} ||= []
36 1 2 $$self{'die_on_unescaped'} ||= 0
46 3 0 $$self{'escape_type'} ||= 'HTML'

or 3 conditions

line l !l&&r !l&&!r condition
154 38 0 0 $class->class_for_type->{$_[0]} || 'Template::Stash::AutoEscaping::Escaped::' . $_[0]