Branch Coverage

File:blib/lib/App/FileSync/Snapshot.pm
Coverage:61.1%

line%coveragebranch
10550TFunless defined $root and length $root
160100TFdefined $epoch ? :
16750TFdefined $date && $date =~ /$DATE/ ? :
17150TF$^O eq 'MSWin32' ? :
25150TFunless -d $root
253100TFdefined $args->{'date'} ? :
25450TFunless is_date($date)
256100TFdefined $args->{'mode'} ? :
25750TFunless $mode eq $HARDLINK or $mode eq $COPY
263100TFif -e $target
27850TFunless ($ok)
2820TFif ref $error
33350TFunless -d $dir
33550TFunless my $names = list_dir($dir)
33650TFif $_ =~ /$DATE/
408100TFunless $keep and @dates > $keep
41350TFunless ($args->{'dry_run'})
50050TFunless defined $date and length $date
50150TFunless is_date($date)
50450TFunless -d $snapshot
50650TFunless defined $to and length $to
50850TFunless -d $to
510100TFunless $args->{'paths'}
51150TFunless list_dir($snapshot)
100TFunless @paths
51650TFunless $safe
51950TFunless -e $from or -l $from