Condition Coverage

blib/lib/Text/Amuse/Compile/File.pm
Criterion Covered Total %
condition 40 62 64.5


and 3 conditions

line !l l&&!r l&&r condition
187 0 0 284 $header and %$header
245 16 0 222 not $self->virtual and -f $self->muse_file
354 42 51 2534 !$self->file_header->$method && !$self->options->{$method}
387 0 0 857 $format and $ref
685 0 238 2 $volumes and @$volumes > 1
840 0 0 0 $i > 2 and @run_xindy
1091 67 0 2 $text->header_defined->{'seriesname'} and $text->header_defined->{'seriesnumber'}
1365 0 0 367 $template_ref and $tokens
0 0 367 $template_ref and $tokens and $outfile
1496 226 1 1 $self->coverpage_only_if_toc and not $doc->wants_toc

or 2 conditions

line l !l condition
326 43 0 $self->file_header->coverwidth || 1
584 112 0 $doc->header_as_html->{'title'} || 'Untitled'
1123 69 0 $header->{'title'} || 'Untitled'
1135 69 0 $header->{'title'} || 'Untitled'
1307 1 0 join("\n", @info) || 'Fatal exception'
1436 12 237 $doc->other_languages || []
1451 5 0 $self->logger || sub { print @_; }
1489 7 0 $xindy_langs{$doc->language_code} || 'general'
1526 253 1 $format ||= "DEFAULT"
1669 338 61 $index || 0

or 3 conditions

line l !l&&r !l&&!r condition
391 256 610 12039 $k eq "logo" or $k eq "cover"
664 3 230 7 @args or $self->standalone
1496 21 3 225 $self->nocoverpage or $self->coverpage_only_if_toc and not $doc->wants_toc
1641 772 0 142 not $out or $@