Condition Coverage

blib/lib/Test/Cmd.pm
Criterion Covered Total %
condition 16 37 43.2


and 3 conditions

line !l l&&!r l&&r condition
433 0 0 0 defined $_ and -d $_
0 0 0 defined $_ and -d $_ and -w $_
760 6 109 0 ref $destref ne "SCALAR" and ref $destref ne "ARRAY"
843 208 52 18 -d $_ and $_ ne "."

or 2 conditions

line l !l condition
453 0 42 $ENV{'VERBOSE'} || 0
456 0 0 $ENV{'PRESERVE'} || 0
457 0 0 $ENV{'PRESERVE'} || 0
458 0 0 $ENV{'PRESERVE'} || 0
460 0 42 $ENV{'PRESERVE_FAIL'} || 0
461 0 42 $ENV{'PRESERVE_PASS'} || 0
462 0 42 $ENV{'PRESERVE_NO_RESULT'} || 0
481 42 0 @Cond[$?] || 'no_result'
534 1 61 $self->{'match_sub'} || \&Test::Cmd::match_regex
798 1 55 $err || {}
1000 0 0 ref $v || ''

or 3 conditions

line l !l&&r !l&&!r condition
650 5 49 0 $workdir || $self->_workdir_name