Condition Coverage

blib/lib/ClearCase/SyncTree.pm
Criterion Covered Total %
condition 0 164 0.0


and 3 conditions

line !l l&&!r l&&r condition
94 0 0 0 $_[0] and ref $_[0] eq 'HASH'
0 0 0 $_[0] and ref $_[0] eq 'HASH' and exists $_[0]{'autofail'}
96 0 0 0 $af and ref $af
169 0 0 0 $_ and not 'File::Spec'->file_name_is_absolute($_)
187 0 0 0 $$self{'ST_IMPLICIT_DIRS'} and $implicit_dirs
358 0 0 0 -d $mbase and not $ct->desc(['-s'], "$mbase/.\@\@")->system
490 0 0 0 src_slink($src) and ccsymlink($dst)
508 0 0 0 $update and !exists($$self{'ST_PRE'}{$dst}) || $self->overwrite_co
557 0 0 0 $$self{'ST_SRCMAP'}{$_}{'type'} and not $$self{'ST_SRCMAP'}{$_}{'type'} =~ /$type/
625 0 0 0 $$self{'ST_SRCMAP'}{$_} and not $$self{'ST_SRCMAP'}{$_}{'dst'}
659 0 0 0 $self->remove and $$self{'ST_SUB'}
748 0 0 0 $$self{'ST_RELLINKS'} and $txt =~ /^$sbase/
853 0 0 0 -d $dd and not $dfound{$dd}++
857 0 0 0 -d $edst and not ccsymlink($edst)
886 0 0 0 $err and @{$err;}
897 0 0 0 -d $dad and not ccsymlink($dad)
917 0 0 0 -d $src and not src_slink($src)
927 0 0 0 -d $src and not src_slink($src)
929 0 0 0 $err and @{$err;}
933 0 0 0 $err and @{$err;}
1047 0 0 0 not $self->no_cr and %reused
1049 0 0 0 exists $$self{'ST_CI_FROM'}{$_} and exists $$self{'ST_CI_FROM'}{$_}{'dst'}
0 0 0 exists $$self{'ST_CI_FROM'}{$_} and exists $$self{'ST_CI_FROM'}{$_}{'dst'} and exists $reused{$$self{'ST_CI_FROM'}{$_}{'dst'}}
1236 0 0 0 $k and $$self{'ST_SRCMAP'}{$k}
1239 0 0 0 $dad = dirname($dad) and $dad gt $dbase
1249 0 0 0 $dad = dirname($dad) and $dad gt $dbase
1414 0 0 0 ($src_mode & 3945) ne ($dst_mode & 3945) and not $src =~ /\.(?:p|html?|gif|mak|rc|ini|java| c|cpp|cxx|h|bmp|ico)$|akefile/x
1427 0 0 0 ($src_mode & 3945) ne ($dst_mode & 3945) and not $src =~ /\.(?:p|html?|gif|mak|rc|ini|java| c|cpp|cxx|h|bmp|ico)$|akefile/x

or 2 conditions

line l !l condition
237 0 0 $ret or 1

or 3 conditions

line l !l&&r !l&&!r condition
123 0 0 0 $_[0] or not defined wantarray
200 0 0 0 m[^\Q$base/\E] or $_ eq $base
273 0 0 0 -e $dbase or mkpath($dbase, 0, 511)
279 0 0 0 not $dv or $dv =~ /\sNONE\s/
490 0 0 0 src_slink($src) || ccsymlink($dst)
493 0 0 0 !defined($comparator) || $srctext ne $desttext
508 0 0 0 !exists($$self{'ST_PRE'}{$dst}) || $self->overwrite_co
560 0 0 0 -e $src or src_slink($src)
561 0 0 0 $$self{'ST_SRCMAP'}{$_}{'dst'} || $_
573 0 0 0 ecs($dst) || ccsymlink($dst)
0 0 0 not -d $src or src_slink($src)
829 0 0 0 not ecs($dirext) or $dm->args($dirext)->qx eq 'file element'
897 0 0 0 $$seen{$dad}++ or -d $dad and not ccsymlink($dad)
900 0 0 0 -f $dad or ccsymlink($dad)
963 0 0 0 not $lsd{$dad} or $lsd{$dad} =~ /CHECKEDOUT$/
1003 0 0 0 $i eq '.' or $i eq '..'
1031 0 0 0 not ecs("$_/$name") or $dm->args("$_/$name")->qx =~ /^directory /
1160 0 0 0 $dangling or not $$self{'ST_SUB'}{'exfiles'}{$dst1}
1173 0 0 0 $dir eq $dir1 or $lsco->args($dir1)->qx
1183 0 0 0 exists $$self{'ST_PRE'}{$dst} or $new
1246 0 0 0 $$exnames{$_} || $ct->ls(['-s'], $_)->qx =~ /\@$/
1271 0 0 0 shift() || $self->lbtype
1287 0 0 0 $self->label_mods or $self->inclb
1299 0 0 0 $2 =~ /CHECKEDOUT$/ or not -r "$_\@\@/$lbl"
1451 0 0 0 $_ || warn("$0: Error: unable to remove $_\n")
1456 0 0 0 $self->ignore_co or $self->overwrite_co