Condition Coverage

/root/.cpan/build/File-RsyncP-0.76-0/blib/lib/File/RsyncP.pm
Criterion Covered Total %
condition 0 172 0.0


and 3 conditions

line !l l&&!r l&&r condition
343 0 0 0 ref $rs->{'rsyncCmd'} ne 'ARRAY' and ref $rs->{'rsyncCmd'} ne 'CODE'
367 0 0 0 ref $cmd eq 'ARRAY' and $rs->{'logLevel'} >= 1
662 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'}
731 0 0 0 $rs->{'chunkData'} eq '' and $rs->getChunk(1) < 0
748 0 0 0 not $rs->{'fileList'}->decodeDone and $rs->getChunk(length($rs->{'chunkData'}) + 1) < 0
774 0 0 0 $rs->{'doPartial'} and $rs->{'fileList'}->flagGet($n)
781 0 0 0 defined $f->{'hlink'} and not $f->{'hlink_self'}
818 0 0 0 $phase == 1 and $rs->{'childDone'} < 3
826 0 0 0 $rs->{'doPartial'} and $rs->{'fileList'}->flagGet($n)
829 0 0 0 $rs->{'logLevel'} >= 3 and ($f->{'mode'} & 61440) == 32768
838 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'}
849 0 0 0 $rs->{'logLevel'} >= 3 and ($f->{'mode'} & 61440) == 32768
854 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'}
910 0 0 0 $blkCnt > 0 and $nWrite > 0
924 0 0 0 $nWrite > 0 and not $rs->{'abort'}
930 0 0 0 not @{$rs->{'doList'};} and $phase == 1
0 0 0 not @{$rs->{'doList'};} and $phase == 1 and $rs->{'childDone'} == 1
945 0 0 0 $phase == 1 && !@{$rs->{'doList'};}
1227 0 0 0 $phase == 1 and $rs->{'rsyncOpts'}{'hard-links'}
1386 0 0 0 defined $rs->{'fh_stderr'} and vec $rout, fileno $rs->{'fh_stderr'}, 1
1487 0 0 0 defined $rs->{'childFh'} and vec $rout, fileno $rs->{'childFh'}, 1
1491 0 0 0 defined $rs->{'fh_stderr'} and vec $rout, fileno $rs->{'fh_stderr'}, 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")
1327 0 0 $reason || 'aborted by user request'
1414 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
344 0 0 0 $rs->{'rsyncCmdType'} eq 'full' or ref $rs->{'rsyncCmd'} ne 'ARRAY'
412 0 0 0 $version < 20 or $version > 40
597 0 0 0 $rs->{'childDone'} >= 3 or $rs->pollChild(1) < 0
662 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'}
818 0 0 0 @{$rs->{'doList'};} or $phase == 1 and $rs->{'childDone'} < 3
838 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'}
854 0 0 0 not defined $attr->{'mode'} or ($attr->{'mode'} & 61440) != 32768
1125 0 0 0 not defined $dataR or length $$dataR == 0
1190 0 0 0 $rs->{'fio'}->fileDeltaRxNext(undef, undef) || $rs->{'fio'}->fileDeltaRxDone($md4digest, $phase)
1232 0 0 0 not defined $f->{'hlink'} or $f->{'hlink_self'}
1431 0 0 0 $code == 1 or $d =~ /^file has vanished: /
1458 0 0 0 $flush or length $rs->{'writeBuf'} > 32768