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
253 1 5 12 $self->do_beginning && $self->do_middle && $self->do_end
275 0 3 14 defined $title and $title =~ /\S/
321 0 7 10 $$text_r and $$text_r =~ /name=['"]___top['"]/
478 0 0 22 defined $linkto and length $linkto
493 45 3 37 $to_unget[-1]->is_end and $to_unget[-1]->tagname eq $tagname
540 137 0 0 $tagname =~ /^item-/s and @stack
137 0 0 $tagname =~ /^item-/s and @stack and $stack[-1]
553 196 0 4 $tagname =~ /^item-/s and @stack
559 0 0 4 $tagname eq "item-text" and defined(my $next = $self->get_token)
613 0 0 3 defined $to and length $to
615 2 0 1 defined $frag and length(($frag .= ''))
630 3 0 7 defined $to and length $to
0 0 3 defined $section and length $section
634 5 0 5 defined $section and length(($section .= ''))
653 3 0 7 defined $to and length $to
656 7 0 0 defined $there and length $there
665 0 0 7 defined $there and length $there
677 3 0 7 defined $to && length $to
678 5 0 5 defined $section and length $section
755 0 0 7 defined $it and length $it
796 0 0 3 defined $page and length $page
816 0 0 0 defined $to and length $to
832 0 0 79 ref $t && UNIVERSAL::can($t, 'is_text')
37 0 3 $t->is_start and $t->tag eq "X"
841 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
231 0 1 $self->{'Adjusted_html_h_levels'} || 0
285 17 0 $self->html_header_after_title || ''
309 17 0 $self->html_header_before_title || ''
322 7 0 $self->top_anchor || ''
355 17 0 $self->html_footer || ''
414 10 0 $self->{'PSHTML_index_points'} || []
474 22 0 $token->attr('type') || 'insane'
488 37 0 $tagmap->{$tagname} || (next)
546 80 60 $tagmap->{$tagname} || (next)
568 139 60 $$tagmap{"/$tagname"} || (next)
797 3 0 $section ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
333 0 60 0 $ENV{'SOURCE_DATE_EPOCH'} || time
339 60 0 0 ref $_[0] || $_[0]
473 4 33 144 $tagname eq "item-text" or $tagname =~ /^head\d$/s
547 0 2 78 $tagname eq "Verbatim" or $tagname eq "VerbatimFormatted"
2 3 75 $tagname eq "Verbatim" or $tagname eq "VerbatimFormatted" or $tagname eq "X"
569 0 3 136 $tagname eq "Verbatim" or $tagname eq "X"
630 7 3 0 defined $to and length $to or defined $section and length $section