Branch Coverage

blib/lib/ClearCase/Wrapper/MGi.pm
Criterion Covered Total %
branch 1 188 0.5


line true false branch
7 0 1 $^O =~ /cygwin/i ? :
18 0 0 if ($@) { }
20 0 0 if ($@ =~ /^\d+$/) { }
0 0 elsif ($@) { }
29 0 0 unless $rc
38 0 0 unless (defined $p1 and defined $p2 and $p1 eq $p2 and $s1 eq $s2)
59 0 0 $out ? :
60 0 0 if ($$seen{$id}++)
61 0 0 unless $$opt{'short'} or $$opt{'fmt'}
65 0 0 unless $$gen{$id}{'parents'}
66 0 0 unless $$gen{$id}{'children'}
69 0 0 $$seen{$_} ? :
70 0 0 if (@{$u;} and not $$opt{'short'} || $$opt{'fmt'})
72 0 0 if $$gen{$_}{'printed'}
74 0 0 @{$u;} > 1 ? :
0 0 if $pprinted and $ind
78 0 0 if ($l or $yes)
79 0 0 if ($$opt{'short'}) { }
80 0 0 if ($yes)
82 0 0 if $ind
87 0 0 if ($ind)
88 0 0 $$opt{'fmt'} ? :
97 0 0 if $top
102 0 0 if ($$seen{$id}++)
103 0 0 unless $$opt{'short'} or $$opt{'fmt'}
107 0 0 unless $$gen{$id}{'parents'}
108 0 0 unless $$gen{$id}{'children'}
112 0 0 if ($$seen{$c}) { }
118 0 0 if (scalar @u and not $$opt{'short'} || $$opt{'fmt'})
121 0 0 if $$gen{$c}{'printed'}
123 0 0 if ($cprinted || !$ind and not $$opt{'offspring'})
124 0 0 @u > 1 ? :
125 0 0 if ($ind == 0) { }
136 0 0 if ($l or $yes)
137 0 0 if ($$opt{'short'}) { }
138 0 0 if ($yes)
144 0 0 $$opt{'fmt'} ? :
151 0 0 if defined $$opt{'depth'} and $$opt{'depth'} < $ind
153 0 0 if ($$gen{$id}{'depth'} < $$gen{$p}{'depth'}) { }
0 0 elsif (not $$opt{'short'} || $$opt{'fmt'}) { }
163 0 0 if _Sosbranch($g, $$stack[-1])
171 0 0 if (defined $$gen{$id}{'depth'}) { }
172 0 0 if ($$gen{$id}{'depth'} > $dep) { }
180 0 0 defined $$gen{$id}{'parents'} ? :
191 0 0 unless $dest =~ m[/$]
193 0 0 if $dest
195 0 0 if $dest
200 0 0 unless (defined $$pbrt{$bt})
211 0 0 if $obs
218 0 0 if $v0 =~ s[/0( \(.*)$][/0]
222 0 0 if ($g =~ /^(.*)( \(.*\))$/)
226 0 0 if ($g =~ /^ -> (.*)$/)
233 0 0 if (_Findpredinstack($g, \@stack)) { }
0 0 elsif ($g ne $v0 and not $gen{$g}{'parents'}) { }
242 0 0 if $gen{$_}{'parents'}
253 0 0 if $pred eq "$ele\@\@"
259 0 0 unless $pred =~ m[/0$] and @ret
267 0 0 if ($br and opendir BR, $br)
270 0 0 if /^\d+$/
271 0 0 if @n
273 0 0 if /^\D/
276 0 0 if $sil->lsco(['-fmt', '%En@@%PVn'], $ele)->qx eq $sel
285 0 0 if ($fmt =~ s/\%\[(.*?)\](N?)l/$ph/)
287 0 0 unless $ClearCase::Wrapper::MGi::CT
289 0 0 @lb ? :
0 0 $ncom ? :
296 0 0 unless $gen
297 0 0 if $verbose
298 0 0 if ($dep--) { }
0 0 elsif ($fmt) { }
299 0 0 if defined $$gen{$sel}{'parents'}
302 0 0 if $fmt
312 0 0 if $$seen{$sel}++
323 0 0 if ($$opt{'offspring'})
331 0 0 if ref $_[0] eq 'ARRAY'
341 0 0 if $silent->des(['-s'], "hltype:$t2")->system
348 0 0 if ($t =~ /^([\w.-]+[-_])(\d+)(?:\.(\d+))?(\@.*)?$/) { }
360 0 0 unless $pfx and $maj
361 0 0 defined $min ? :
368 0 0 if (@int) { }
391 0 0 if $^O =~ /MSWin32|Windows_NT/i
392 0 0 if (-f $_ or -l $_) { }
0 0 elsif (-d _) { }
0 0 elsif (not -e _) { }
393 0 0 if (-r _) { }
400 0 0 if ($_ eq 'lost+found')
405 0 0 unless opendir DIR, $_
408 0 0 if @entries == 2
421 0 0 if ($test)
423 0 0 if (not $res) { }
0 0 elsif ($res == -1) { }
433 0 0 unless $ans
437 0 0 unless $ans
439 0 0 if ($$yn{'opt'}{$ans}) { }