Branch Coverage

blib/lib/TeX/AutoTeX/Process.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
42 0 0 unless defined $$self{'log'}
43 0 0 unless defined $$self{'temp_dir'} and defined $$self{'branch'} and defined $$self{'tex_env_path'}
47 0 0 unless ($$self{'fileset'})
71 0 0 unless (eval { do { delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'}; local $SIG{'ALRM'} = sub { croak("AutoTeX process timed out after $TeX::AutoTeX::Process::AUTOTEX_TIMEOUTs (" . (localtime()), ')'); } ; alarm $TeX::AutoTeX::Process::AUTOTEX_TIMEOUT; umask 02; setpgrp; $self->process_files; alarm 0; 1 } })
94 0 0 if ($filetype =~ /(compressed|TAR\sarchive|MULTI_PART_MIME|UUencoded)/i)
98 0 0 if -d "$tmpdir/$filename" or $filename eq '.' or $filename eq '..'
102 0 0 unless ($filename =~ /auto_gen(?:_ps)?\.log/)
104 0 0 if ($filetype eq 'unknown')
109 0 0 if ($priority_value{$filename} > $highest_pri)
115 0 0 if (not $highest_pri) { }
130 0 0 unless (-e "$tmpdir/$filename")
134 0 0 if (not $successful or (stat "$tmpdir/$filename")[8] < $start)
136 0 0 if ($fileobj->process($self)) { }
139 0 0 if ($$self{'branch'} eq '3' or $$self{'branch'} =~ m[texlive/])
141 0 0 if (-s "$tmpdir/$pdffile" and (stat _)[9] >= $start)
143 0 0 if (my $stampref = $self->get_stamp)
155 0 0 if (-e "$tmpdir/missfont.log")
160 0 0 if (not $successful) { }
167 0 0 if ($atime and $atime < $start)
168 0 0 -T "$tmpdir/$unknown" ? :
175 0 0 if ($atime <= $process_fail_time{$filename})
180 0 0 -T "$tmpdir/$filename" ? :
185 0 0 if ($junk_warning)
192 0 0 if (-e "$tmpdir/missfont.log")
196 0 0 if (@{$$self{'made_pdf'};} > 1)
198 0 0 if (-e "$tmpdir/$combinedfile.tex" or -e "$tmpdir/$combinedfile.pdf")
206 0 0 unless close $PDFPAGES
209 0 0 if ($$self{'fileset'}->new_File("$combinedfile.tex")->process($self)) { }
221 0 0 unless opendir my $DIR, $$self{'temp_dir'}
224 0 0 unless utime $now, $now, "$$self{'temp_dir'}/$_"
226 0 0 if $_ ne '.'
243 0 0 if ($t eq $type)
244 0 0 if ($t eq 'TYPE_DVI')
256 0 0 unless opendir my $DIR, $$self{'temp_dir'}
267 0 0 unless -e "$$self{'temp_dir'}/$TeX::AutoTeX::Process::DIRECTIVE_FILE"
268 0 0 unless open my $README, '<', "$$self{'temp_dir'}/$TeX::AutoTeX::Process::DIRECTIVE_FILE"
271 0 0 if $line =~ /^[#%]/
276 0 0 unless (defined $token)
280 0 0 if ($token eq 'nohypertex')
285 0 0 if ($token eq 'nostamp')
290 0 0 unless (defined $type)
304 0 0 if (my $message = $flagtypes{$type})
310 0 0 if ($type eq 'fontmap')
311 0 0 if ($token =~ /^\+?([a-z]+\.map)$/i)
321 0 0 unless close $README
353 0 0 if ($$self{'use_stamp'})