Condition Coverage

blib/lib/HTML/TagTree.pm
Criterion Covered Total %
condition 17 33 51.5


and 3 conditions

line !l l&&!r l&&r condition
198 1 0 1 defined $tag_attributes and $tag_attributes ne ''
202 1 1 0 defined $content and $content ne ''
309 2 2 1 exists $$self{'attributes'} and $$self{'attributes'} ne ''
360 1 4 0 not exists $$self{'content'} || exists $$self{'children_objs'} and exists $valid_empty_tags_for_shortening{$tag_open}
427 1 4 0 not exists $$self{'content'} || exists $$self{'children_objs'} and exists $valid_empty_tags_for_shortening{$tag_open}
688 2 0 0 defined $tag_attributes and $tag_attributes ne ''
699 2 0 0 defined $content and $content ne ''
821 0 0 0 lc $$possible_td{'tag'} ne 'td' and lc $$possible_td{'tag'} ne 'th'

or 3 conditions

line l !l&&r !l&&!r condition
360 0 1 4 exists $$self{'content'} || exists $$self{'children_objs'}
427 0 1 4 exists $$self{'content'} || exists $$self{'children_objs'}
801 0 0 0 $$child_obj{'tag'} eq 'thead' or $$child_obj{'tag'} eq 'tbody'