Condition Coverage

blib/lib/File/DirSync.pm
Criterion Covered Total %
condition 5 99 5.0


and 3 conditions

line !l l&&!r l&&r condition
82 0 0 0 $$self{'_gentle_maxops'} < 20000000 and $elapsed < 2 || $delay < 2
121 0 0 0 $only =~ s[/[^/]*$][] and $only =~ /^$dir/
161 0 0 0 not $$self{'localmode'} || -l $path and -d _
166 0 0 0 $this_stamp > $skew and not -l $path
208 0 0 0 defined $src and defined $dst
219 0 0 0 $upper_dst and not -d $upper_dst
280 0 0 0 $$self{'nocache'} and -d _
285 0 0 0 $when_src && $when_dst && $size_src && $size_dst
0 0 0 defined($when_src && $when_dst && $size_src && $size_dst) and $when_src == $when_dst
0 0 0 defined($when_src && $when_dst && $size_src && $size_dst) and $when_src == $when_dst and $size_src == $size_dst
384 0 0 0 $when_src && $when_dst
0 0 0 defined($when_src && $when_dst) and $when_src == $when_dst
407 0 0 0 $$self{'localmode'} and not -l "$src/$node"
0 0 0 $$self{'localmode'} and not -l "$src/$node" and -d _
421 0 0 0 $$self{'localmode'} and not -l "$src/$node"
0 0 0 $$self{'localmode'} and not -l "$src/$node" and -d _
566 2 0 0 not unlink($node) and lstat $node
590 0 0 4 $_[0] && !lstat($_[0])

or 2 conditions

line l !l condition
14 2 0 !($^O =~ /Win32/i) || 0
46 0 1 shift() || {}
47 0 1 $$self{'only'} ||= []
62 0 0 shift() || 50
66 0 0 shift() || 1000
78 0 0 shift() || 1
81 0 0 int $elapsed / (100 / $$self{'_gentle_percent'} - 1) || 1
456 0 0 shift() || 0
471 0 0 $$self{'ignore'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
55 0 0 0 shift() || $0
0 0 0 $$self{'proctitle'} ||= shift() || $0
82 0 0 0 $elapsed < 2 || $delay < 2
103 0 0 0 shift() || $$self{'src'}
161 0 0 0 $$self{'localmode'} || -l $path
206 0 0 0 shift() || $$self{'src'}
207 0 0 0 shift() || $$self{'dst'}
268 0 0 0 -l $dst or -e $dst
622 0 0 0 $errno or rename $temp_dst, $dst