Branch Coverage

blib/lib/Pod/Simple/Words.pm
Criterion Covered Total %
branch 50 52 96.1


line true false branch
34 17 0 unless (defined $self->splitter)
57 94 9 if defined $attrhash->{'start_line'}
59 9 94 if ($tagname eq 'L') { }
2 92 elsif ($tagname eq 'for') { }
3 89 elsif ($tagname eq 'Verbatim') { }
19 70 elsif ($tagname eq 'head1') { }
3 67 elsif ($tagname =~ /^head[0-9]+$/u) { }
62 3 6 if ($attrhash->{'type'} eq 'url') { }
65 1 2 if (defined $url->fragment)
74 5 1 if defined $attrhash->{'to'}
75 3 3 if defined $attrhash->{'section'}
103 3 100 if ($tagname eq 'Verbatim') { }
19 81 elsif ($tagname eq 'head1') { }
3 78 elsif ($tagname =~ /^head[0-9]+$/u) { }
2 76 elsif ($tagname eq 'for') { }
9 67 elsif ($tagname eq 'L') { }
152 2 66 if defined $self->link_address and $self->link_address eq $text
154 22 44 if ($self->in_section_title)
160 19 47 if ($self->in_head1) { }
166 1 46 if $self->skip_section_hash->{$self->head1}
168 2 63 if ($self->target) { }
3 60 elsif ($self->in_verbatim) { }
170 2 0 if ($self->target eq 'stopwords')
174 4 6 unless $word =~ /\w/u
184 1 2 unless $doc->find('PPI::Token::Comment')
192 19 41 if $self->in_head1