Branch Coverage

blib/lib/auto/share/dist/Alien-autoconf/bin/autom4te
Criterion Covered Total %
branch 18 146 12.3


line true false branch
15 1 0 if $d[-5] eq "lib" and $d[-6] eq "blib"
55 0 1 if $^O eq "dos"
113 0 1 if system "$m4 --help &1 | grep reload-state >/dev/null"
118 1 0 unless (" $m4 ") =~ / (--nesting-limit(=[0-9]+)?|-L[0-9]*) /
229 1 0 $Autom4te::FileUtils::subsecond_mtime ? :
263 0 0 if (eval { do { 'File::Temp'->VERSION('0.2310'); 1 } }) { }
285 0 0 if $success
287 0 0 unless $!{'EEXIST'}
307 0 0 if ($file =~ /\.m4f$/)
315 0 0 unless grep {/__m4_version__/;} @m4_builtin
338 69 104 if /^\s*(\#.*)?$/
342 8 96 if ($type eq 'begin-language:') { }
8 88 elsif ($type eq 'end-language:') { }
88 0 elsif ($type eq 'args:') { }
344 0 8 if defined $lang
350 0 8 if $lang ne lc $words[0]
356 0 88 unless defined $lang
388 0 0 unless exists $language{lc $_}
394 0 1 if (exists $ENV{'AUTOM4TE_DEBUG'})
439 0 0 unless @ARGV
448 0 0 if $freeze and @trace
450 0 0 if $freeze
457 0 0 unless $cache
475 0 0 defined $2 ? :
477 0 0 if exists $m4_builtin_alternate_name{$1}
496 0 0 if ($_ eq '-') { }
0 0 elsif (/\.m4f$/) { }
504 0 0 if (not $melt and $file) { }
517 0 0 if $file
544 0 0 !exists $ENV{'AUTOM4TE_NO_FATAL'} ? :
552 0 0 unless move("${file}t", "$file")
571 0 0 if ($word =~ /$re/)
579 0 0 if ($first_warn_forbidden)
620 0 0 if ($output eq '-') { }
0 0 elsif (-e $output and not -f $output) { }
655 0 0 unless /^\#\s*(if|include|endif|ifdef|ifndef|define)\b/
661 0 0 if not /^$/ and /$forbidden/o and not /$allowed/o and not exists $prohibited{$_}
673 0 0 if defined $scratchfile
678 0 0 unless %prohibited
683 0 0 if ($ARGV[$#ARGV] ne "-")
692 0 0 unless /^\#(if|include|endif|ifdef|ifndef|define)\b/
703 0 0 unless %prohibited
742 0 0 if (s/^\$(\d+)//) { }
0 0 elsif (s/^\$([fldn\$])//) { }
0 0 elsif (s/^\$\{([^}]*)\}([\@*%])// or s/^\$(.?)([\@*%])//) { }
0 0 elsif (/^(\$.)/) { }
756 0 0 if ($2 eq '@') { }
0 0 elsif ($2 eq '*') { }
0 0 elsif ($2 eq '%') { }
758 0 0 $1 ? :
763 0 0 $1 ? :
768 0 0 $1 ? :
922 0 0 if ($output eq '-') { }
960 0 0 unless $req->valid
969 0 0 unless -f $tfile and -f $ofile
976 0 0 $omtime < $tmtime ? :
980 0 0 if (grep {$_ eq "-";} @ARGV)
986 0 0 if ($mtime <= &mtime($dep))
1007 0 0 unless $dep
1009 0 0 if ($mtime <= &mtime($dep))
1042 0 0 if $result
1062 0 1 if exists $ENV{'HOME'} and -f "$ENV{'HOME'}/.autom4te.cfg"
1063 0 1 if -f ".autom4te.cfg"
1068 0 0 if ($freeze)
1075 0 0 unless (mkdir $cache, 493)
1083 0 0 unless ($eexist and -d $cache)
1095 0 0 if $flock_implemented eq "yes"
1101 0 0 if -f $icache and &mtime($icache) > &mtime($0) and "Autom4te::C4che"->good_version($icache_file, "2.72")
1112 0 0 if $main::force or not &up_to_date($req)
1120 0 0 if $main::force or not $req->valid
1140 0 0 unless defined $stacktrace
1151 0 0 if (%trace) { }
1164 0 0 if $main::force or &mtime($output) <= &mtime($ocache . $req->id)