Condition Coverage

blib/lib/WebDyne/HTML/TreeBuilder.pm
Criterion Covered Total %
condition 27 38 71.0


and 3 conditions

line !l l&&!r l&&r condition
242 432 78 1 $WebDyne::HTML::TreeBuilder::CGI_TAG_WEBDYNE{$tag_parent} and $tag eq 'head'
432 77 1 $WebDyne::HTML::TreeBuilder::CGI_TAG_WEBDYNE{$tag_parent} and $tag eq 'body'
462 0 47 $WebDyne::HTML::TreeBuilder::CGI_TAG_SPECIAL{$tag} and $method ne 'SUPER::text'
493 211 0 5 $Text_fg and $tag eq $Text_fg
584 13 0 3 $html_or->tag eq 'perl' and not $html_or->attr('inline')

or 2 conditions

line l !l condition
165 342 14 $Line_no_next || 1

or 3 conditions

line l !l&&r !l&&!r condition
231 409 104 0 $self->{'_pos'} || $self
242 2 0 511 $WebDyne::HTML::TreeBuilder::CGI_TAG_IMPLICIT{$tag_parent} or $tag_parent =~ /^start_/i
2 0 511 $WebDyne::HTML::TreeBuilder::CGI_TAG_IMPLICIT{$tag_parent} or $tag_parent =~ /^start_/i or $tag_parent =~ /^end_/i
0 4 458 $WebDyne::HTML::TreeBuilder::CGI_TAG_IMPLICIT{$tag_parent} or $tag =~ /^start_/i
4 4 454 $WebDyne::HTML::TreeBuilder::CGI_TAG_IMPLICIT{$tag_parent} or $tag =~ /^start_/i or $tag =~ /^end_/
523 0 9 307 $text =~ /^\W*__CODE__/ or $text =~ /^\W*__PERL__/
634 0 0 0 $attr_hr->{'head'} ||= &CGI::meta({'http-equiv', 'Content-Type', 'content', $WebDyne::HTML::TreeBuilder::WEBDYNE_CONTENT_TYPE_HTML})