Condition Coverage

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

line%coveragecondition
176100
Adec
00
11
$args->{'opts'} || {}
18267
ABdec
000
011
1X1
$args->{'logger'} || App::FileSync::Settings::logger('verbose', $opts->{'verbose'}, 'quiet', $opts->{'quiet'})
281100
Adec
00
11
$result->{'summary'}{$_} || 0
28367
ABdec
000
011
1X1
$result->{'exit'} || $App::FileSync::Client::EXIT_OK
35267
ABdec
0X0
100
111
defined $raw{'exits'} and not ref $raw{'exits'}
36167
ABdec
0X0
100
111
$args->{'limit'} && $args->{'limit'} > 0
37050
Adec
00
11
$_->{'ts'} || 0
371100
ABdec
000
011
1X1
not $warnings or _has_warnings($_)
100
ABCDdec
00XX0
01000
01011
011X1
1X000
1X011
1X1X1
!defined($since) || $ts >= $since and !defined($until) || $ts <= $until
377100
Adec
00
11
$run->{'exit'} || 0
5330
Adec
00
11
$path // ""
54567
ABdec
0X0
100
111
defined $args->{'to'} && length $args->{'to'}
55067
ABdec
000
011
1X1
-e $destination or -l $destination
61833
ABdec
000
011
1X1
$repo->{'role'} || $App::FileSync::Client::ROLE_CLIENT
62433
ABdec
0X0
100
111
defined $repo->{'snapshot_mode'} && length $repo->{'snapshot_mode'}
62533
ABdec
000
011
1X1
($args->{'keep'} // $repo->{'snapshot_keep'}) // $App::FileSync::Client::SNAPSHOT_KEEP
67
ABdec
000
011
1X1
$args->{'keep'} // $repo->{'snapshot_keep'}
62967
ABdec
0X0
100
111
$created->{'created'} && $keep > 0
74667
ABdec
0X0
100
111
defined $args->{'to'} && length $args->{'to'}
75033
ABdec
0X0
100
111
defined $args->{'path'} && length $args->{'path'}