Condition Coverage

blib/lib/File/RsyncP.pm
Criterion Covered Total %
condition 0 166 0.0


and 3 conditions

line !l l&&!r l&&r condition
339 0 0 0 ref $$rs{'rsyncCmd'} ne 'ARRAY' and ref $$rs{'rsyncCmd'} ne 'CODE'
364 0 0 0 ref $cmd eq 'ARRAY' and $$rs{'logLevel'} >= 1
653 0 0 0 not $thisIgnoreAttr and $$f{'size'} == $$attr{'size'}
0 0 0 not $thisIgnoreAttr and $$f{'size'} == $$attr{'size'} and $$f{'mtime'} == $$attr{'mtime'}
0 0 0 not $thisIgnoreAttr and $$f{'size'} == $$attr{'size'} and $$f{'mtime'} == $$attr{'mtime'} and !$$rs{'rsyncOpts'}{'perms'} || $$f{'mode'} == $$attr{'mode'}
0 0 0 not $thisIgnoreAttr and $$f{'size'} == $$attr{'size'} and $$f{'mtime'} == $$attr{'mtime'} and !$$rs{'rsyncOpts'}{'perms'} || $$f{'mode'} == $$attr{'mode'} and !$$rs{'rsyncOpts'}{'group'} || $$f{'gid'} == $$attr{'gid'}
0 0 0 not $thisIgnoreAttr and $$f{'size'} == $$attr{'size'} and $$f{'mtime'} == $$attr{'mtime'} and !$$rs{'rsyncOpts'}{'perms'} || $$f{'mode'} == $$attr{'mode'} and !$$rs{'rsyncOpts'}{'group'} || $$f{'gid'} == $$attr{'gid'} and !$$rs{'rsyncOpts'}{'owner'} || $$f{'uid'} == $$attr{'uid'}
0 0 0 not $thisIgnoreAttr and $$f{'size'} == $$attr{'size'} and $$f{'mtime'} == $$attr{'mtime'} and !$$rs{'rsyncOpts'}{'perms'} || $$f{'mode'} == $$attr{'mode'} and !$$rs{'rsyncOpts'}{'group'} || $$f{'gid'} == $$attr{'gid'} and !$$rs{'rsyncOpts'}{'owner'} || $$f{'uid'} == $$attr{'uid'} and !$$rs{'rsyncOpts'}{'hard-links'} || $$f{'hlink_self'} == $$attr{'hlink_self'}
722 0 0 0 $$rs{'chunkData'} eq '' and $rs->getChunk(1) < 0
738 0 0 0 not $$rs{'fileList'}->decodeDone and $rs->getChunk(length($$rs{'chunkData'}) + 1) < 0
765 0 0 0 $$rs{'doPartial'} and $$rs{'fileList'}->flagGet($n)
772 0 0 0 defined $$f{'hlink'} and not $$f{'hlink_self'}
809 0 0 0 $phase == 1 and $$rs{'childDone'} < 3
817 0 0 0 $$rs{'doPartial'} and $$rs{'fileList'}->flagGet($n)
818 0 0 0 $$rs{'logLevel'} >= 3 and ($$f{'mode'} & 61440) == 32768
829 0 0 0 not $ignoreAttr and $phase == 0
0 0 0 not $ignoreAttr and $phase == 0 and $$f{'size'} == $$attr{'size'}
0 0 0 not $ignoreAttr and $phase == 0 and $$f{'size'} == $$attr{'size'} and $$f{'mtime'} == $$attr{'mtime'}
0 0 0 not $ignoreAttr and $phase == 0 and $$f{'size'} == $$attr{'size'} and $$f{'mtime'} == $$attr{'mtime'} and !$$rs{'rsyncOpts'}{'perms'} || $$f{'mode'} == $$attr{'mode'}
0 0 0 not $ignoreAttr and $phase == 0 and $$f{'size'} == $$attr{'size'} and $$f{'mtime'} == $$attr{'mtime'} and !$$rs{'rsyncOpts'}{'perms'} || $$f{'mode'} == $$attr{'mode'} and !$$rs{'rsyncOpts'}{'group'} || $$f{'gid'} == $$attr{'gid'}
0 0 0 not $ignoreAttr and $phase == 0 and $$f{'size'} == $$attr{'size'} and $$f{'mtime'} == $$attr{'mtime'} and !$$rs{'rsyncOpts'}{'perms'} || $$f{'mode'} == $$attr{'mode'} and !$$rs{'rsyncOpts'}{'group'} || $$f{'gid'} == $$attr{'gid'} and !$$rs{'rsyncOpts'}{'owner'} || $$f{'uid'} == $$attr{'uid'}
0 0 0 not $ignoreAttr and $phase == 0 and $$f{'size'} == $$attr{'size'} and $$f{'mtime'} == $$attr{'mtime'} and !$$rs{'rsyncOpts'}{'perms'} || $$f{'mode'} == $$attr{'mode'} and !$$rs{'rsyncOpts'}{'group'} || $$f{'gid'} == $$attr{'gid'} and !$$rs{'rsyncOpts'}{'owner'} || $$f{'uid'} == $$attr{'uid'} and !$$rs{'rsyncOpts'}{'hard-links'} || $$f{'hlink_self'} == $$attr{'hlink_self'}
838 0 0 0 $$rs{'logLevel'} >= 3 and ($$f{'mode'} & 61440) == 32768
845 0 0 0 $$rs{'rsyncOpts'}{'hard-links'} and defined $$f{'hlink'}
0 0 0 $$rs{'rsyncOpts'}{'hard-links'} and defined $$f{'hlink'} and not $$f{'hlink_self'}
901 0 0 0 $blkCnt > 0 and $nWrite > 0
915 0 0 0 $nWrite > 0 and not $$rs{'abort'}
921 0 0 0 not @{$$rs{'doList'};} and $phase == 1
0 0 0 not @{$$rs{'doList'};} and $phase == 1 and $$rs{'childDone'} == 1
936 0 0 0 $phase == 1 && !@{$$rs{'doList'};}
1218 0 0 0 $phase == 1 and $$rs{'rsyncOpts'}{'hard-links'}
1460 0 0 0 defined $$rs{'childFh'} and vec $rout, fileno $$rs{'childFh'}, 1

or 2 conditions

line l !l condition
70 0 0 $options ||= {}
224 0 0 $port ||= 873
226 0 0 inet_aton($host) || (return "unknown host $host")
1318 0 0 $reason || 'aborted by user request'
1387 0 0 $len ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
143 0 0 0 $$rs{'timeout'} ||= $$rs{'rsyncOpts'}{'timeout'}
241 0 0 0 $$rs{'remote_protocol'} < 20 or $$rs{'remote_protocol'} > 40
342 0 0 0 $$rs{'rsyncCmdType'} eq 'full' or ref $$rs{'rsyncCmd'} ne 'ARRAY'
407 0 0 0 $version < 20 or $version > 40
588 0 0 0 $$rs{'childDone'} >= 3 or $rs->pollChild(1) < 0
653 0 0 0 !$$rs{'rsyncOpts'}{'perms'} || $$f{'mode'} == $$attr{'mode'}
0 0 0 !$$rs{'rsyncOpts'}{'group'} || $$f{'gid'} == $$attr{'gid'}
0 0 0 !$$rs{'rsyncOpts'}{'owner'} || $$f{'uid'} == $$attr{'uid'}
0 0 0 !$$rs{'rsyncOpts'}{'hard-links'} || $$f{'hlink_self'} == $$attr{'hlink_self'}
809 0 0 0 @{$$rs{'doList'};} or $phase == 1 and $$rs{'childDone'} < 3
829 0 0 0 !$$rs{'rsyncOpts'}{'perms'} || $$f{'mode'} == $$attr{'mode'}
0 0 0 !$$rs{'rsyncOpts'}{'group'} || $$f{'gid'} == $$attr{'gid'}
0 0 0 !$$rs{'rsyncOpts'}{'owner'} || $$f{'uid'} == $$attr{'uid'}
0 0 0 !$$rs{'rsyncOpts'}{'hard-links'} || $$f{'hlink_self'} == $$attr{'hlink_self'}
845 0 0 0 not defined $$attr{'mode'} or ($$attr{'mode'} & 61440) != 32768
1116 0 0 0 not defined $dataR or length $$dataR == 0
1180 0 0 0 $$rs{'fio'}->fileDeltaRxNext(undef, undef) || $$rs{'fio'}->fileDeltaRxDone($md4digest, $phase)
1223 0 0 0 not defined $$f{'hlink'} or $$f{'hlink_self'}
1404 0 0 0 $code == 1 or $d =~ /^file has vanished: /
1431 0 0 0 $flush or length $$rs{'writeBuf'} > 32768