Branch Coverage

blib/lib/HTML/WikiConverter/MediaWiki.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
167 0 0 if $self->preserve_italic
168 0 0 if $self->preserve_bold
169 0 0 if $self->preserve_nowiki
192 0 0 $wc->pad_headings ? :
199 0 0 $wc->pad_headings ? :
216 0 0 if $parent->tag eq 'ul'
217 0 0 if $parent->tag eq 'ol'
218 0 0 if $parent->tag eq 'dl'
219 0 0 if $parent->tag eq 'dl' and $node->tag eq 'dt'
228 0 0 defined $node->attr('href') ? :
232 0 0 if (my $title = $self->get_wiki_page($url))
234 0 0 if $text eq $title
235 0 0 if $text eq lcfirst $title
240 0 0 if $url eq $text
246 0 0 unless $node->attr('src')
252 0 0 if $alt and $width
253 0 0 if $alt
268 0 0 if $attrs
279 0 0 if $attrs
281 0 0 unless $node->left or $attrs
293 0 0 $node->tag eq 'th' ? :
297 0 0 if $attrs
302 0 0 @non_text ? :
313 0 0 if $attrs
320 0 0 defined $node->tag ? :
321 0 0 if $tag eq 'a'
323 0 0 if $tag eq '~text'
350 0 0 if $self->preserve_templates
357 0 0 defined $node->attr('text') ? :
358 0 0 unless $text
367 0 0 if $self->_match($text, \@anywhere_patterns)
370 0 0 if $found_nowiki_text
379 0 0 if ($nearest_parent_block)
381 0 0 if ($leftmostish_text_node and $node == $leftmostish_text_node)
383 0 0 if $self->_match($text, \@sol_patterns)
388 0 0 if ($found_nowiki_text) { }
399 0 0 unless $node
400 0 0 if $node->tag eq '~text'
418 0 0 defined $node->tag ? :
421 0 0 defined $node->attr($att_name) ? :
422 0 0 if ($att_value =~ /$extra{$att_name}/)