Branch Coverage

lib/Pod/PseudoPod/DOM/Role/PML.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
21 0 0 if @_ > 1
34 0 0 unless my $heading = $anchors->{$anchor}
40 0 0 unless $target =~ /^(sec|chp)\./
94 0 0 unless defined $content
96 0 0 if (my($char, $class) = $content =~ /(\w)(\w+)/)
98 0 0 if exists $characters{$class}
102 0 0 if $args{'encode'} =~ /^(index_|id$)/
120 0 0 if $self->add_body_tags
131 0 0 unless $kid->type eq 'header'
132 0 0 if $kid->exclude_from_toc($args{'max_depth'})
158 0 0 if (&blessed($heading)) { }
219 0 0 if ($level > $last_level)
225 0 0 if $last_level == $level
242 0 0 if $l == 0
247 0 0 $id_node ? :
250 0 0 $id_node ? :
262 0 0 $id_node ? :
264 0 0 $id_node ? :
265 0 0 unless $id =~ /^chp\./
275 0 0 unless defined $content
283 0 0 if (my $encode = $args{'encode'})
307 0 0 unless (defined $text)
354 0 0 if (my $title = $self->title) { }
386 0 0 $marker ? :
394 0 0 unless @$kids
397 0 0 unless @$kids
423 0 0 if $args{'encode'} =~ /^(index_|id$)/
467 0 0 if exists $env->{$tag}
483 0 0 $title ? :
494 0 0 if $title
495 0 0 $title ? :
510 0 0 unless $has_visible_text
512 0 0 @kids && $kids[0]->type =~ /^(?:anchor|index)$/ ? :
526 0 0 if ($type eq 'anchor') { }
0 0 elsif ($type eq 'index') { }
561 0 0 $self->title ? :
564 0 0 if (my $environment = $self->emit_environments->{$target}) { }
0 0 elsif (my $meth = $self->can('emit_' . $target)) { }
604 0 0 unless defined $title and length $title
612 0 0 if $self->type eq 'index'
631 0 0 $self->title ? :
634 0 0 if $title
674 0 0 defined $anchor ? :
678 0 0 if $anchor
680 0 0 if $caption