Branch Coverage

lib/Pod/PseudoPod/DOM.pm
Criterion Covered Total %
branch 34 40 85.0


line true false branch
23 58 3 if $self->{'filename'}
49 5 53 if (my $environments = delete $args{'emit_environments'})
62 441 0 if $formatter->can('encode_E_contents')
78 698 8059 unless ($class)
123 225 1118 if ($child->can_contain_anchor)
130 662 456 if ($child->type eq 'paragraph')
132 228 434 if (@$grandkids != 1)
137 361 73 if ($grandkids->[0]->type ne 'anchor')
145 73 456 if ($anchor_parent and $child->type eq 'anchor')
168 589 681 if ($kid->type eq 'paragraph')
170 65 524 unless ($kid->has_visible_kids)
254 0 4211 unless $element->isa($class)
261 3737 0 if $element->$attribute eq $value
264 4211 0 unless $attrs
392 197 0 if $list
400 74 488 $args->{'number'} ? :
445 110 212 unless defined $flags->{$_}
458 51 110 if (my $title = $block->title)
487 24 0 if (my $title = $table->title)
505 72 123 if ($part =~ /$tag_regex/) { }