Condition Coverage

blib/lib/HTML/Template/Compiled/Parser.pm
Criterion Covered Total %
condition 21 32 65.6


and 3 conditions

line !l l&&!r l&&r condition
201 131 0 0 ref $def eq 'ARRAY' and @$def == 4
266 456 6 0 $key =~ /^(?:PRE|POST)_CHOMP\z/ and not $val =~ /^(?:0|1|2|3)\z/
504 509 0 4 $arg->{'name'} eq 'PERL' and $self->get_perl
527 77 429 3 @{$arg->{'tags'};} > 0 and $pre_chomp
540 34 468 7 length $arg->{'template'} and $post_chomp
658 254 0 0 @{$arg->{'stack'};} == 0 and @$allowed == 0
662 102 151 1 $allowed->[0] eq '__EOT__' and $arg->{'stack'}[-1] ne '__EOT__'

or 2 conditions

line l !l condition
173 0 69 $args{'tagnames'} || {}
193 33 36 $tagstyle_def ||= []
554 509 0 $callback_found_tag->[-1] || sub { }
563 552 0 $callbacks_found_text->[-1] || sub { }

or 3 conditions

line l !l&&r !l&&!r condition
583 8 0 0 ref $self || $self