Condition Coverage

blib/lib/Template/Stash/AutoEscape.pm
Criterion Covered Total %
condition 9 17 52.9


and 3 conditions

line !l l&&!r l&&r condition
91 0 28 15 not $ESCAPE_ARGS and ref $args[0] eq 'ARRAY'
28 0 15 not $ESCAPE_ARGS and ref $args[0] eq 'ARRAY' and scalar @{$args[0];} > 2

or 2 conditions

line l !l condition
28 2 0 $$self{'method_for_raw'} ||= 'raw'
29 0 2 $$self{'_raw_string_class'} ||= 'Template::Stash::AutoEscape::RawString'
30 0 2 $$self{'ignore_escape'} ||= []
40 2 0 $$self{'escape_type'} ||= 'HTML'

or 3 conditions

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