Branch Coverage

lib/Pod/PseudoPod/DOM/Role/LaTeX.pm
Criterion Covered Total %
branch 43 56 76.7


line true false branch
58 33 55 $text =~ s/^\*// ? :
59 33 55 $self->anchor ? :
61 22 66 if $level == 0
71 2015 0 defined $self->content ? :
73 617 1398 if (my $encode = $args{'encode'})
138 1553 0 unless $self->{'keep_ligatures'}
170 11 0 if (my $title = $self->title)
203 33 0 $marker ? :
211 0 121 unless @$kids
214 88 33 $first =~ /\D/ ? :
225 0 99 unless @$kids
237 66 55 unless $args{'encode'} =~ /^index_/
287 385 0 $has_visible_text ? :
366 0 110 unless defined $content
368 110 0 if (my($char, $class) = $content =~ /(\w)(\w+)/)
370 77 33 if exists $characters{$class}
383 165 77 if ($kid->type eq 'plaintext') { }
409 23 55 $self->title ? :
412 1 77 if (my $environment = $self->emit_environments->{$target}) { }
66 11 elsif (my $meth = $self->can('emit_' . $target)) { }
428 13 1 defined $title ? :
444 2 20 if exists $env->{'sidebar'}
446 10 10 if ($title) { }
478 11 0 $self->title ? :
486 11 0 length $title ? :
525 33 66 unless $contents =~ /\S/
536 11 0 defined $caption ? :
541 11 0 defined $anchor ? :