Branch Coverage

blib/lib/Pod/Simple/Wiki/Mediawiki.pm
Criterion Covered Total %
branch 52 66 78.7


line true false branch
72 7 31 if (ref $_[-1] eq 'HASH') { }
82 1 6 exists $opts->{'custom_tags'} ? :
117 17 173 if ($self->{'_indent_text'})
139 16 35 if ($item_type eq 'bullet') { }
16 19 elsif ($item_type eq 'number') { }
19 0 elsif ($item_type eq 'text') { }
159 8 0 if (not $self->_skip_headings)
173 8 0 if ($attr and my $method = $self->can('_format_link'))
187 3 5 if ($attr->{'type'} eq 'url')
190 1 2 if $attr->{'content-implicit'}
195 0 5 if ($attr->{'type'} eq 'man')
198 0 0 if $attr->{'content-implicit'}
202 0 5 unless $attr->{'type'} eq 'pod'
205 1 4 unless defined $attr->{'to'}
208 2 2 if (defined $attr->{'section'})
210 1 1 $self->{'_link_prefix'} ? :
214 2 0 if ($attr->{'content-implicit'})
216 1 1 $self->{'_link_prefix'} ? :
236 2 95 if ($self->{'_sentence_case_headers'})
237 2 0 if ($self->{'_in_head1'})
242 97 0 unless ($self->{'_in_Data'})
245 19 78 if ($self->{'_in_item_text'})
250 1 96 if ($self->{'_in_Verbatim'})
288 1 33 if ($self->{'_in_over_block'})
292 16 18 if ($self->{'_in_over_text'})
296 2 32 if ($self->{'_transformer_lists'})
297 2 0 if ($self->{'_in_over_bullet'} or $self->{'_in_over_number'})
298 2 0 if ($self->{'output_string'})
318 16 18 if ($self->{'_in_over_text'}) { }
0 18 elsif ($self->{'_transformer_lists'} and $self->{'_in_over_bullet'} || $self->{'_in_over_number'}) { }
332 32 2 if (not $self->{'_transformer_lists'} && ($self->{'_in_over_bullet'} || $self->{'_in_over_number'}))
362 1 37 if ($self->{'_remove_name_section'})
365 0 1 unless $1