Condition Coverage

blib/lib/Text/Amuse/Compile/File.pm
Criterion Covered Total %
condition 40 63 63.4


and 3 conditions

line !l l&&!r l&&r condition
193 0 0 288 $header and %$header
251 16 0 226 not $self->virtual and -f $self->muse_file
360 42 55 2562 !$self->file_header->$method && !$self->options->{$method}
393 0 0 869 $format and $ref
691 0 242 2 $volumes and @$volumes > 1
846 0 0 0 $i > 2 and @run_xindy
1101 67 0 2 $text->header_defined->{'seriesname'} and $text->header_defined->{'seriesnumber'}
1378 0 0 371 $template_ref and $tokens
0 0 371 $template_ref and $tokens and $outfile
1512 230 1 1 $self->coverpage_only_if_toc and not $doc->wants_toc

or 2 conditions

line l !l condition
332 43 0 $self->file_header->coverwidth || 1
590 112 0 $doc->header_as_html->{'title'} || 'Untitled'
1136 69 0 $header->{'title'} || 'Untitled'
1148 69 0 $header->{'title'} || 'Untitled'
1320 1 0 join("\n", @info) || 'Fatal exception'
1451 18 235 $doc->other_languages || []
1505 7 0 $xindy_langs{$doc->language_code} || 'general'
1542 257 1 $format ||= "DEFAULT"
1685 338 61 $index || 0

or 3 conditions

line l !l&&r !l&&!r condition
397 260 618 12211 $k eq "logo" or $k eq "cover"
670 3 234 7 @args or $self->standalone
1467 5 0 0 $self->logger || sub { print @_; }
1512 21 3 229 $self->nocoverpage or $self->coverpage_only_if_toc and not $doc->wants_toc
1657 784 0 142 not $out or $@