Condition Coverage

blib/lib/Marek/Pod/HTML.pm
Criterion Covered Total %
condition 27 115 23.4


and 3 conditions

line !l l&&!r l&&r condition
364 0 0 0 $$_[0] =~ /^(-\w)\S/ and not $have{$1}++
391 0 0 0 $name ne '*' and not defined $lib{$name}
506 0 0 0 $class and $class eq 'POD_LINK'
1054 0 0 5 defined $content and ref $content
0 0 5 defined $content and ref $content and @$content
0 2 3 defined $content and ref $content and @$content and ref $$content[-1]
2 0 3 defined $content and ref $content and @$content and ref $$content[-1] and $$content[-1]->tag eq 'dd'
2 3 0 defined $content and ref $content and @$content and ref $$content[-1] and $$content[-1]->tag eq 'dd' and $$content[-1]->is_empty
1084 0 11 0 $paragraph =~ /^\s*(\w<\s*)*(\S*)/ and $2
1106 0 0 0 $paragraph =~ s/^[\s\n]*(\S+)[\s\n]*// and lc $1 eq 'html'
1150 0 0 0 defined $content and ref $content
0 0 0 defined $content and ref $content and @$content
0 0 0 defined $content and ref $content and @$content and ref $$content[-2]
0 0 0 defined $content and ref $content and @$content and ref $$content[-2] and $$content[-2]->tag eq 'p'
1177 0 0 0 defined $content and ref $content
0 0 0 defined $content and ref $content and @$content
0 0 0 defined $content and ref $content and @$content and ref $$content[-2]
0 0 0 defined $content and ref $content and @$content and ref $$content[-2] and $$content[-2]->tag eq 'pre'
1186 0 0 0 $$self{'_current_head1_title'} eq 'NAME' and not $self->description
1229 19 0 3 $$self{'_current_head1_title'} eq 'NAME' and $paragraph
19 0 3 $$self{'_current_head1_title'} eq 'NAME' and $paragraph and not $self->description
1235 3 14 5 $$self{'_last_p_by'} and $$self{'_last_p_by'} eq 'dd'
3 14 0 $$self{'_last_p_by'} and $$self{'_last_p_by'} eq 'beginfor'
1382 0 0 2 $dest and $node
1580 0 0 0 $doit and $$self{-'lib'}
0 0 0 $doit and $$self{-'lib'} and $node_ref = $$self{-'lib'}{$text}
0 0 0 $$node_ref[0] eq $$self{-'name'} && $$node_ref[1] eq $$self{'_current_anchor'}
0 0 0 $doit and $$self{-'lib'} and $node_ref = $$self{-'lib'}{$text} and not $$node_ref[0] eq $$self{-'name'} && $$node_ref[1] eq $$self{'_current_anchor'}
1660 0 0 0 $head and $head->content
1663 0 0 0 $body and $body->content
1674 0 0 0 ref $$_ and $$_->tag eq 'p'

or 2 conditions

line l !l condition
338 3 0 $PODS{$infile} || 'STDIN'
662 3 0 $$self{-'name'} ||= ''
665 3 0 $$self{-'suffix'} ||= '.html'
668 0 3 $$self{-'description'} ||= ''
744 5 0 $$self{-'title'} || $name || 'POD'
1322 0 0 HTML::Entities::decode_entities("&$entity;") || ''
1599 0 0 $pos ||= 0
1691 0 0 $lastp || 'beginfor'

or 3 conditions

line l !l&&r !l&&!r condition
648 0 3 0 ref $this || $this
1018 2 0 2 $paragraph =~ s/^((\s*\w<)*)\s*[*]\s*/$1/ or $paragraph =~ s/^\s*$//