Branch Coverage

blib/lib/Pod/Simple/Wiki.pm
Criterion Covered Total %
branch 37 50 74.0


line true false branch
60 0 584 if $format eq 'wikipedia'
61 0 584 if $format eq 'moin'
67 281 303 if ($format ne 'wiki')
69 0 281 if $@
133 54 971 unless defined $text
154 12 25 if ($item_type eq 'bullet') { }
12 13 elsif ($item_type eq 'number') { }
13 0 elsif ($item_type eq 'text') { }
226 0 1402 if ($self->{'_debug'})
232 1099 303 if (my $method = $self->can('_start_' . $element))
252 1099 303 if (my $method = $self->can('_end_' . $element))
258 0 1402 if ($self->{'_debug'})
280 95 155 unless /\S/
281 0 155 if m[^(ht|f)tp://]
295 44 0 unless $_[0]->_skip_headings
296 33 0 unless $_[0]->_skip_headings
297 12 0 unless $_[0]->_skip_headings
300 44 0 unless $_[0]->_skip_headings
301 33 0 unless $_[0]->_skip_headings
302 12 0 unless $_[0]->_skip_headings
345 48 22 unless $_[0]{'_item_indent'}
350 34 36 unless $_[0]{'_item_indent'}
355 47 36 unless $_[0]{'_item_indent'}
382 1 18 if ($self->{'_in_over_block'})
399 113 110 if ($self->{'_in_over_text'}) { }