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 35 0 ref $destref ne 'SCALAR' and ref $destref ne 'ARRAY'
843 130 40 18 -d $_ and $_ ne '.'

or 2 conditions

line l !l condition
453 0 30 $ENV{'VERBOSE'} || 0
456 0 0 $ENV{'PRESERVE'} || 0
457 0 0 $ENV{'PRESERVE'} || 0
458 0 0 $ENV{'PRESERVE'} || 0
460 0 30 $ENV{'PRESERVE_FAIL'} || 0
461 0 30 $ENV{'PRESERVE_PASS'} || 0
462 0 30 $ENV{'PRESERVE_NO_RESULT'} || 0
481 30 0 @Cond[$?] || 'no_result'
534 1 49 $$self{'match_sub'} || \&match_regex
798 1 43 $err || {}
1000 0 0 ref $v || ''

or 3 conditions

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