Branch Coverage

File:/usr/local/share/autoconf/Autom4te/FileUtils.pm
Coverage:50.0%

line%coveragebranch
7150TFif ($s =~ /^\s/)
7550TFif ($s =~ /\s$/)
105100TFif $file_name =~ s/\?$//
108100TFif -e $file_name
11150TFif (not 'File::Spec'->file_name_is_absolute($file_name))
115100TFif -e 'File::Spec'->catfile($path, $file_name)
12050TFunless $optional
139100TFif $file eq '-' or not -f $file
14250TFunless my $stat = stat $file
16350TFunless defined $force
16950TFif ($to eq '-')
1780TFunless unlink $from
182100TFif (not $force and -f "$to" and compare("$from", "$to") == 0)
18650TFunless unlink $from
191100TFif (-f "$to") { }
19450TFunless move("$to", "$to$SIMPLE_BACKUP_SUFFIX")
19650TFunless move("$from", "$to")
20250TFunless move("$from", "$to")
225100TFif ($mtime < mtime $dep)
24950TFunless defined $expected
25050TFif (defined $hint) { }
26050TFif ($!) { }
26850TFif (WIFEXITED($?)) { }
0TFelsif (WIFSIGNALED($?)) { }
27250TFunless $status == $expected
3050TFif $?
326100TFif system @command
3450TFif system @command
3940TFunless -f "$dirname/$file_name"
4010TFif (not exists $_directory_cache{$dirname})
4030TFunless opendir DIR, $dirname
4310TFif exists $_directory_cache{$dirname}