Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
250 1 5 12 $self->do_beginning && $self->do_middle && $self->do_end
272 0 3 14 defined $title and $title =~ /\S/
318 0 7 10 $$text_r and $$text_r =~ /name=['"]___top['"]/
475 0 0 22 defined $linkto and length $linkto
490 45 3 37 $to_unget[-1]->is_end and $to_unget[-1]->tagname eq $tagname
537 134 0 0 $tagname =~ /^item-/s and @stack
134 0 0 $tagname =~ /^item-/s and @stack and $stack[-1]
550 193 0 4 $tagname =~ /^item-/s and @stack
556 0 0 4 $tagname eq 'item-text' and defined(my $next = $self->get_token)
610 0 0 3 defined $to and length $to
612 2 0 1 defined $frag and length($frag .= '')
627 3 0 7 defined $to and length $to
0 0 3 defined $section and length $section
631 5 0 5 defined $section and length($section .= '')
650 3 0 7 defined $to and length $to
653 7 0 0 defined $there and length $there
662 0 0 7 defined $there and length $there
674 3 0 7 defined $to && length $to
675 5 0 5 defined $section and length $section
752 0 0 7 defined $it and length $it
793 0 0 3 defined $page and length $page
813 0 0 0 defined $to and length $to
829 0 0 79 ref $t && UNIVERSAL::can($t, 'is_text')
37 0 3 $t->is_start and $t->tag eq 'X'
838 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
228 0 1 $self->{'Adjusted_html_h_levels'} || 0
282 17 0 $self->html_header_after_title || ''
306 17 0 $self->html_header_before_title || ''
319 7 0 $self->top_anchor || ''
352 17 0 $self->html_footer || ''
411 10 0 $self->{'PSHTML_index_points'} || []
471 22 0 $token->attr('type') || 'insane'
485 37 0 $tagmap->{$tagname} || (next)
543 78 59 $tagmap->{$tagname} || (next)
565 137 59 $$tagmap{"/$tagname"} || (next)
794 3 0 $section ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
330 0 59 0 $ENV{'SOURCE_DATE_EPOCH'} || time
336 59 0 0 ref $_[0] || $_[0]
470 4 33 141 $tagname eq 'item-text' or $tagname =~ /^head\d$/s
544 0 2 76 $tagname eq 'Verbatim' or $tagname eq 'VerbatimFormatted'
2 3 73 $tagname eq 'Verbatim' or $tagname eq 'VerbatimFormatted' or $tagname eq 'X'
566 0 3 134 $tagname eq 'Verbatim' or $tagname eq 'X'
627 7 3 0 defined $to and length $to or defined $section and length $section