Branch Coverage

blib/lib/Text/Amuse.pm
Criterion Covered Total %
branch 62 68 91.1


line true false branch
83 9 637 if (my $chunks = $opts{'partial'})
84 2 7 unless ref $chunks eq "ARRAY"
87 17 0 if (defined $chunk)
88 16 1 if ($chunk =~ /\A (pre | post | [0-9] | [1-9][0-9]+ ) \z/x) { }
98 5 1 if (%partials)
156 20 986 if (my $partials = $self->{'partials'}) { }
182 510 199 unless (defined $self->{'_html_doc'})
194 4 864 if (my $partials = $self->partials) { }
198 16 28 if $partials->{$i}
220 416 43 unless (defined $self->{'_html_output_strings'})
223 69 390 unless defined wantarray
241 66 2 unless (defined $self->{'_cached_html_header'})
256 0 18 unless @toc
260 5 70 unless $item->{'index'}
261 3 67 unless length $item->{'string'}
262 6 61 $item->{'named'} ? :
270 16 2 if (@out) { }
304 81 43 if ($missing)
305 81 0 if ($missing == 1) { }
316 5 119 if (my $partials = $self->partials)
319 20 35 if $partials->{$i}
341 255 193 unless (defined $self->{'_ltx_doc'})
360 255 241 unless (defined $self->{'_latex_output_strings'})
363 239 257 unless defined wantarray
405 5 1 if (my $partials = $self->partials)
406 2 3 if ($partials->{'pre'}) { }
418 5 1 if (my $partials = $self->partials)
419 2 3 if ($partials->{'post'}) { }
448 2 2 unless (defined $self->{'_cached_latex_header'})
502 1 2 unless (defined $self->{'_header_defined_hashref'})
506 2 0 if (defined $header{$k} and length $header{$k})
559 18 18 unless (defined $self->{'_doc_hyphenation'})
568 8 10 @validated ? :
618 0 0 if ($self->is_rtl) { }