blib/lib/Text/Amuse/Compile/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 40 | 62 | 64.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
187 | 0 | 0 | 288 | $header and %$header |
245 | 16 | 0 | 226 | not $self->virtual and -f $self->muse_file |
354 | 42 | 55 | 2562 | !$self->file_header->$method && !$self->options->{$method} |
387 | 0 | 0 | 869 | $format and $ref |
685 | 0 | 242 | 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'} |
1368 | 0 | 0 | 371 | $template_ref and $tokens |
0 | 0 | 371 | $template_ref and $tokens and $outfile | |
1502 | 230 | 1 | 1 | $self->coverpage_only_if_toc and not $doc->wants_toc |
line | l | !l | condition |
---|---|---|---|
326 | 43 | 0 | $self->file_header->coverwidth || 1 |
584 | 112 | 0 | $doc->header_as_html->{'title'} || 'Untitled' |
1126 | 69 | 0 | $header->{'title'} || 'Untitled' |
1138 | 69 | 0 | $header->{'title'} || 'Untitled' |
1310 | 1 | 0 | join("\n", @info) || 'Fatal exception' |
1441 | 18 | 235 | $doc->other_languages || [] |
1457 | 5 | 0 | $self->logger || sub { print @_; } |
1495 | 7 | 0 | $xindy_langs{$doc->language_code} || 'general' |
1532 | 257 | 1 | $format ||= "DEFAULT" |
1675 | 338 | 61 | $index || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
391 | 260 | 618 | 12211 | $k eq "logo" or $k eq "cover" |
664 | 3 | 234 | 7 | @args or $self->standalone |
1502 | 21 | 3 | 229 | $self->nocoverpage or $self->coverpage_only_if_toc and not $doc->wants_toc |
1647 | 784 | 0 | 142 | not $out or $@ |