Condition Coverage

blib/lib/HTML/TagTree.pm
Criterion Covered Total %
condition 14 27 51.8


and 3 conditions

line !l l&&!r l&&r condition
188 1 0 0 defined $tag_attributes and $tag_attributes ne ''
192 1 0 0 defined $content and $content ne ''
295 2 2 0 exists $$self{'attributes'} and $$self{'attributes'} ne ''
331 1 3 0 not exists $$self{'content'} || exists $$self{'children_objs'} and exists $valid_empty_tags_for_shortening{$tag_open}
392 1 3 0 not exists $$self{'content'} || exists $$self{'children_objs'} and exists $valid_empty_tags_for_shortening{$tag_open}
653 2 0 0 defined $tag_attributes and $tag_attributes ne ''
664 2 0 0 defined $content and $content ne ''

or 3 conditions

line l !l&&r !l&&!r condition
331 0 1 3 exists $$self{'content'} || exists $$self{'children_objs'}
392 0 1 3 exists $$self{'content'} || exists $$self{'children_objs'}