Condition Coverage

blib/lib/Pod/Simple/HTML.pm
Criterion Covered Total %
condition 66 121 54.5


and 3 conditions

line !l l&&!r l&&r condition
252 1 5 12 $self->do_beginning && $self->do_middle && $self->do_end
274 0 3 14 defined $title and $title =~ /\S/
320 0 7 10 $$text_r and $$text_r =~ /name=['"]___top['"]/
477 0 0 22 defined $linkto and length $linkto
492 45 3 37 $to_unget[-1]->is_end and $to_unget[-1]->tagname eq $tagname
539 134 0 0 $tagname =~ /^item-/s and @stack
134 0 0 $tagname =~ /^item-/s and @stack and $stack[-1]
552 193 0 4 $tagname =~ /^item-/s and @stack
558 0 0 4 $tagname eq "item-text" and defined(my $next = $self->get_token)
612 0 0 3 defined $to and length $to
614 2 0 1 defined $frag and length($frag .= "")
629 3 0 7 defined $to and length $to
0 0 3 defined $section and length $section
633 5 0 5 defined $section and length($section .= "")
652 3 0 7 defined $to and length $to
655 7 0 0 defined $there and length $there
664 0 0 7 defined $there and length $there
676 3 0 7 defined $to && length $to
677 5 0 5 defined $section and length $section
754 0 0 7 defined $it and length $it
795 0 0 3 defined $page and length $page
815 0 0 0 defined $to and length $to
831 0 0 79 ref $t && UNIVERSAL::can($t, 'is_text')
37 0 3 $t->is_start and $t->tag eq "X"
840 3 0 0 $t->is_start and $t->tag eq "X"
0 0 3 $t->is_end and $t->tag eq "X"

or 2 conditions

line l !l condition
230 0 1 $self->{'Adjusted_html_h_levels'} || 0
284 17 0 $self->html_header_after_title || ''
308 17 0 $self->html_header_before_title || ''
321 7 0 $self->top_anchor || ''
354 17 0 $self->html_footer || ''
413 10 0 $self->{'PSHTML_index_points'} || []
473 22 0 $token->attr('type') || 'insane'
487 37 0 $tagmap->{$tagname} || (next)
545 78 59 $tagmap->{$tagname} || (next)
567 137 59 $$tagmap{"/$tagname"} || (next)
796 3 0 $section ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
332 0 59 0 $ENV{'SOURCE_DATE_EPOCH'} || time
338 59 0 0 ref $_[0] || $_[0]
472 4 33 141 $tagname eq "item-text" or $tagname =~ /^head\d$/s
546 0 2 76 $tagname eq "Verbatim" or $tagname eq "VerbatimFormatted"
2 3 73 $tagname eq "Verbatim" or $tagname eq "VerbatimFormatted" or $tagname eq "X"
568 0 3 134 $tagname eq "Verbatim" or $tagname eq "X"
629 7 3 0 defined $to and length $to or defined $section and length $section