Condition Coverage

blib/lib/ClearCase/Argv.pm
Criterion Covered Total %
condition 1 153 0.6


and 2 conditions

line l !l condition
449 0 0 $self->ipc and 1

and 3 conditions

line !l l&&!r l&&r condition
76 0 0 0 ref $self and $$self{'CT'}
181 0 0 0 $self->noexec and not $self->_read_only
201 0 0 0 $dbg and $self->ctcmd
279 0 0 0 $self->noexec and not $self->_read_only
283 0 0 0 $dbg and $self->ctcmd
314 0 0 0 @data and $dbg >= 2
324 0 0 0 $data and $dbg >= 2
455 0 0 0 $level == 2 and $msg =~ /^(Can't locate \S+)/
502 0 0 0 $ENV{'CLEARCASE_ARGV_CTCMD'} and not ref $self
554 0 0 0 $self and exists $$self{'outfunc'}
0 0 0 $self and exists $$self{'outfunc'} and $$self{'outfunc'} == 0
562 0 0 0 $self and exists $$self{'errfunc'}
0 0 0 $self and exists $$self{'errfunc'} and $$self{'errfunc'} == 0
583 0 0 1 defined $level and not $level
602 0 0 0 exists $$class{'IPC'} and $level =~ /^\d+$/
0 0 0 exists $$class{'IPC'} and $level =~ /^\d+$/ and not $$self{'CT'}
0 0 0 exists $$class{'IPC'} and $level =~ /^\d+$/ and not $$self{'CT'} and not $$class{'CT'}
0 0 0 $$self{'CT'} and $$class{'CT'}
0 0 0 $$self{'CT'} and $$class{'CT'} and $$self{'CT'} eq $$class{'CT'}
605 0 0 0 $self ne $class and not $self->ipc
651 0 0 0 $p eq '/' and not -r $_
674 0 0 0 $c and $i == $c + 1
734 0 0 0 not $manok and /^(?:clear|multi)tool.*?: (Error|Warning):/
0 0 0 not $man and /^Comments for /
0 0 0 not $manok and $man
760 0 0 0 $_ and $dbg >= 2
761 0 0 0 $diff and not /^Files are identical/
764 0 0 0 $err and $stderr
765 0 0 0 $disposition and $err && $stderr == 1 || !$err && $stdout == 1
829 0 0 0 $_[$i] eq '-c' and $_[$i + 1] =~ /\n/s
899 0 0 0 $proto->ipc and $$self{'IPC'}{'PID'} == $$proto{'IPC'}{'PID'}

or 2 conditions

line l !l condition
292 0 0 $data ||= ''
787 0 0 shift() || 3

or 3 conditions

line l !l&&r !l&&!r condition
126 0 0 0 @_ or ref $prg
0 0 0 @_ or ref $prg or $prg =~ m[^/|^\S*(?:clear|multi)tool]
0 0 0 @_ or ref $prg or $prg =~ m[^/|^\S*(?:clear|multi)tool] or $self->ctcmd
139 0 0 0 not ref $_[0] or ref $_[0] eq 'HASH'
145 0 0 0 $rc ||= $self->ipc(0)
154 0 0 0 not ref $_[0] or ref $_[0] eq 'HASH'
159 0 0 0 $self->ctcmd or $self->ipc
253 0 0 0 not ref $_[0] or ref $_[0] eq 'HASH'
258 0 0 0 $self->ctcmd or $self->ipc
377 0 0 0 not ref $_[0] or ref $_[0] eq 'HASH'
447 0 0 0 defined $level or defined wantarray
460 0 0 0 $level == 1 or $level == 2
507 0 0 0 defined $$self{'CCAV_CTCMD'} or defined $$class{'CCAV_CTCMD'}
510 0 0 0 $$self{'CCAV_CTCMD'} || $$class{'CCAV_CTCMD'}
594 0 0 0 $rc || $?
602 0 0 0 exists $$class{'IPC'} and $level =~ /^\d+$/ and not $$self{'CT'} and not $$class{'CT'} or $$self{'CT'} and $$class{'CT'} and $$self{'CT'} eq $$class{'CT'}
764 0 0 0 $stdout or $err and $stderr
765 0 0 0 $err && $stderr == 1 || !$err && $stdout == 1