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
340 0 0 0 ref $$rs{'rsyncCmd'} ne 'ARRAY' and ref $$rs{'rsyncCmd'} ne 'CODE'
365 0 0 0 ref $cmd eq 'ARRAY' and $$rs{'logLevel'} >= 1
654 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'}
723 0 0 0 $$rs{'chunkData'} eq '' and $rs->getChunk(1) < 0
739 0 0 0 not $$rs{'fileList'}->decodeDone and $rs->getChunk(length($$rs{'chunkData'}) + 1) < 0
766 0 0 0 $$rs{'doPartial'} and $$rs{'fileList'}->flagGet($n)
773 0 0 0 defined $$f{'hlink'} and not $$f{'hlink_self'}
810 0 0 0 $phase == 1 and $$rs{'childDone'} < 3
818 0 0 0 $$rs{'doPartial'} and $$rs{'fileList'}->flagGet($n)
819 0 0 0 $$rs{'logLevel'} >= 3 and ($$f{'mode'} & 61440) == 32768
830 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'}
839 0 0 0 $$rs{'logLevel'} >= 3 and ($$f{'mode'} & 61440) == 32768
846 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'}
902 0 0 0 $blkCnt > 0 and $nWrite > 0
916 0 0 0 $nWrite > 0 and not $$rs{'abort'}
922 0 0 0 not @{$$rs{'doList'};} and $phase == 1
0 0 0 not @{$$rs{'doList'};} and $phase == 1 and $$rs{'childDone'} == 1
937 0 0 0 $phase == 1 && !@{$$rs{'doList'};}
1219 0 0 0 $phase == 1 and $$rs{'rsyncOpts'}{'hard-links'}
1461 0 0 0 defined $$rs{'childFh'} and vec $rout, fileno $$rs{'childFh'}, 1

or 2 conditions

line l !l condition
71 0 0 $options ||= {}
225 0 0 $port ||= 873
227 0 0 inet_aton($host) || (return "unknown host $host")
1319 0 0 $reason || 'aborted by user request'
1388 0 0 $len ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
144 0 0 0 $$rs{'timeout'} ||= $$rs{'rsyncOpts'}{'timeout'}
242 0 0 0 $$rs{'remote_protocol'} < 20 or $$rs{'remote_protocol'} > 40
343 0 0 0 $$rs{'rsyncCmdType'} eq 'full' or ref $$rs{'rsyncCmd'} ne 'ARRAY'
408 0 0 0 $version < 20 or $version > 40
589 0 0 0 $$rs{'childDone'} >= 3 or $rs->pollChild(1) < 0
654 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'}
810 0 0 0 @{$$rs{'doList'};} or $phase == 1 and $$rs{'childDone'} < 3
830 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'}
846 0 0 0 not defined $$attr{'mode'} or ($$attr{'mode'} & 61440) != 32768
1117 0 0 0 not defined $dataR or length $$dataR == 0
1181 0 0 0 $$rs{'fio'}->fileDeltaRxNext(undef, undef) || $$rs{'fio'}->fileDeltaRxDone($md4digest, $phase)
1224 0 0 0 not defined $$f{'hlink'} or $$f{'hlink_self'}
1405 0 0 0 $code == 1 or $d =~ /^file has vanished: /
1432 0 0 0 $flush or length $$rs{'writeBuf'} > 32768