Branch Coverage

blib/lib/Clearcase.pm
Criterion Covered Total %
branch 12 98 12.2


line true false branch
88 0 7 $^O =~ /cygwin/ ? :
0 7 $^O =~ /MSWin/ ? :
89 0 7 $^O =~ /MSWin/ ? :
128 0 7 if ($ARCHITECTURE eq 'windows' or $ARCHITECTURE eq 'cygwin') { }
137 0 0 unless -d $CCHOME
140 0 0 unless -d $CCHOME
156 0 3 if ($clearpid)
167 0 3 if $oldHandler
258 0 0 if $opts{$_} ne ""
339 0 0 !$comment ? :
397 0 0 if (substr($tag, 0, 1) eq '\\') { }
0 0 elsif (substr($tag, 0, 1) eq '/') { }
400 0 0 if ($tag =~ m[$VOBTAG_PREFIX/(.+)])
456 0 0 if (substr($name, 0, length $VOBTAG_PREFIX) eq $VOBTAG_PREFIX) { }
520 0 0 if $status
524 0 0 if ($output[0])
531 0 0 if ($attributes =~ /^=(\"*)(.*)/) { }
0 0 elsif ($attributes =~ /^(\w+)=(.*)/) { }
532 0 0 if ($2 =~ /(.*?)$1(\s|$)(.*)/) { }
558 0 0 if ($CC->status) { }
663 0 0 if (wantarray) { }
743 7 0 unless ($cleartool)
744 0 7 if ($ARCHITECTURE =~ /Win/ or $ARCHITECTURE eq 'cygwin') { }
0 7 elsif (-x '/opt/rational/clearcase/bin/cleartool') { }
757 7 0 unless ($clearpid)
765 7 0 if ($@ or $? != 0)
775 0 0 unless $clearpid
784 0 0 if (not $line =~ /(.*)Command \d+ returned status (\d+)/ms) { }
793 0 0 if (@output)
795 0 0 if $output[0] =~ /\r$/
801 0 0 if @output and $output[-1] eq ""
904 7 0 if $status
910 0 0 if $status
914 0 0 if (/Client: (.*)/) { }
0 0 elsif (/Product: (.*)/) { }
0 0 elsif (/Operating system: (.*)/) { }
0 0 elsif (/Hardware type: (.*)/) { }
0 0 elsif (/Registry host: (.*)/) { }
0 0 elsif (/Registry region: (.*)/) { }
0 0 elsif (/License host: (.*)/) { }
928 0 0 if ($self->{'region'} =~ /(\S*)(NT|UNIX)$/)
1281 0 0 if (wantarray) { }
1327 0 0 if $status
1328 0 0 $output[0] eq '** NONE **' ? :
1372 0 0 if ($vob) { }
1380 0 0 if $status
1384 0 0 if ($output[0] =~ /oid=(\S+)\s+/) { }
1432 0 0 unless $vob =~ /^vobuuid:/
1438 0 0 if $status