Branch Coverage

File:blib/lib/App/FileSync/Admin.pm
Coverage:76.0%

line%coveragebranch
119100TFif defined $_
25250TFif -e $config_path
256100TFif defined $args->{$limit}
25950TFif $args->{'ignore'} and @{$args->{'ignore'};}
31450TFunless list_dir($root)
43150TFunless &any(sub {         $_ eq $role; } , @App::FileSync::Admin::ROLES)
4940TFdefined $base && -e $base ? :
55350TFunless -e $path
55550TFunless eval {         do {         &App::FileSync::Admin::unlink($path); 1 } }
68150TFunless list_dir($dir)
687100TFif defined $limit and $limit > 0 and @events > $limit
762100TF$report->{'ok'} ? :
834100TF$args->{'dry_run'} ? :
837100TFunless my $lock = $store->acquire_lock
842100TFunless ($dry_run)
852100TF$dry_run ? :
94450TFunless $safe
949100TFif ($args->{'list'})
956100TF$into_master ? :
957100TFunless ($into_master)
95950TFunless -d $base
963100TFif -e $destination or -l $destination
970100TFif $into_master
97250TFdefined $sha ? :
977100TF$into_master ? :