Branch Coverage

File:/tmp/automake/lib/Automake/FileUtils.pm
Coverage:31.2%

line%coveragebranch
7150TFif ($s =~ /^\s/)
7550TFif ($s =~ /\s$/)
1050TFif $file_name =~ s/\?$//
1080TFif -e $file_name
1110TFif (not 'File::Spec'->file_name_is_absolute($file_name))
1150TFif -e 'File::Spec'->catfile($path, $file_name)
1200TFunless $optional
139100TFif $file eq '-' or not -f $file
14250TFunless my $stat = stat $file
1630TFunless defined $force
1690TFif ($to eq '-')
1780TFunless unlink $from
1820TFif (not $force and -f "$to" and compare("$from", "$to") == 0)
1860TFunless unlink $from
1910TFif (-f "$to") { }
1940TFunless move("$to", "$to$SIMPLE_BACKUP_SUFFIX")
1960TFunless move("$from", "$to")
2020TFunless move("$from", "$to")
2250TFif ($mtime < mtime $dep)
249100TFunless defined $expected
25050TFif (defined $hint) { }
26050TFif ($!) { }
26850TFif (WIFEXITED($?)) { }
0TFelsif (WIFSIGNALED($?)) { }
272100TFunless $status == $expected
3050TFif $?
32650TFif system @command
3450TFif system @command
394100TFunless -f "$dirname/$file_name"
401100TFif (not exists $_directory_cache{$dirname})
40350TFunless opendir DIR, $dirname
431100TFif exists $_directory_cache{$dirname}