Branch Coverage

File:blib/lib/App/FileSync/Client.pm
Coverage:88.2%

line%coveragebranch
16950TFunless $args->{'config'}
174100TFunless $ok
18750TFif exists $args->{'settings'}
268100TFunless ($result)
278100TFif ($result->{'ok'})
283100TF$result->{'dry_run'} ? :
35250TFif defined $raw{'exits'} and not ref $raw{'exits'}
361100TF$args->{'limit'} && $args->{'limit'} > 0 ? :
362100TFdefined $args->{'since'} ? :
363100TFdefined $args->{'until'} ? :
364100TF$args->{'warnings'} ? :
366100TFunless $args->{'exits'}
371100TFif !defined($since) || $ts >= $since and !defined($until) || $ts <= $until
377100TFunless not @exits
378100TFif @runs > $limit
382100TFdefined $since ? :
100TFdefined $until ? :
100TF@exits ? :
100TF$warnings ? :
440100TFref $cache->{'ignore'} eq 'ARRAY' ? :
454100TF$report->{'ok'} ? :
53350TFunless $safe
538100TFif ($args->{'list'})
542100TFunless @versions
545100TFdefined $args->{'to'} && length $args->{'to'} ? :
54750TFunless -d $to_root
550100TFif -e $destination or -l $destination
618100TFunless ($repo->{'role'} || $App::FileSync::Client::ROLE_CLIENT) eq $App::FileSync::Client::ROLE_REPLICA
62050TFunless my $lock = $self->_lock
62450TFdefined $repo->{'snapshot_mode'} && length $repo->{'snapshot_mode'} ? :
629100TF$created->{'created'} && $keep > 0 ? :
74450TFunless my $lock = $self->_lock
746100TFdefined $args->{'to'} && length $args->{'to'} ? :
75050TFdefined $args->{'path'} && length $args->{'path'} ? :
754100TF$to eq $repo->{'root'} ? :
857100TF-e $path ? :
858100TFunless ref $cache eq "HASH"
859100TFunless ref $cache->{'entries'} eq "HASH"