Condition Coverage

blib/lib/HTML/Parser/Simple.pm
Criterion Covered Total %
condition 22 36 61.1


and 3 conditions

line !l l&&!r l&&r condition
392 25 210 0 $stack[$#stack] && $special{$stack[$#stack]}
487 179 26 30 $self->xhtml and $in_content
548 0 0 1 $parent and $parent->can('getNodeValue')
665 0 23 0 $#$stack >= 0 and ${$self->inline;}{$$stack[$#$stack]}
671 55 18 0 ${$self->self_close;}{$tag_name} and $$stack[$#$stack] eq $tag_name
729 9 3 33 $index <= $#$content && defined $$content[$index]
738 15 0 36 $index <= $#$content && defined $$content[$index]
739 9 6 36 not ${$self->empty;}{$name} and $name ne 'root'

or 3 conditions

line l !l&&r !l&&!r condition
316 5 8 38 $tag_name eq 'head' or $tag_name eq 'body'
622 0 0 0 $input_file_name ||= $self->input_file
623 0 0 0 $output_file_name ||= $self->output_file
676 19 0 54 ${$self->empty;}{$tag_name} || $unary