Branch Coverage

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


line true false branch
60 0 522 if $format eq 'wikipedia'
61 0 522 if $format eq 'moin'
67 250 272 if ($format ne 'wiki')
69 0 250 if $@
133 50 859 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 1256 if ($$self{'_debug'})
232 984 272 if (my $method = $self->can('_start_' . $element))
252 984 272 if (my $method = $self->can('_end_' . $element))
258 0 1256 if ($$self{'_debug'})
280 95 155 unless /\S/
281 0 155 if m[^(ht|f)tp://]
295 40 0 unless $_[0]->_skip_headings
296 30 0 unless $_[0]->_skip_headings
297 11 0 unless $_[0]->_skip_headings
300 40 0 unless $_[0]->_skip_headings
301 30 0 unless $_[0]->_skip_headings
302 11 0 unless $_[0]->_skip_headings
345 43 20 unless $_[0]{'_item_indent'}
350 31 32 unless $_[0]{'_item_indent'}
355 42 32 unless $_[0]{'_item_indent'}
382 1 18 if ($$self{'_in_over_block'})
399 99 96 if ($$self{'_in_over_text'}) { }