Branch Coverage

lib/IPC/Run3/Simple.pm
Criterion Covered Total %
branch 16 38 42.1


line true false branch
37 3 0 if (eval { do { require Capture::Tiny } }) { }
50 3 0 if (eval { do { require Time::HiRes } }) { }
60 0 0 unless defined $t1
87 3 1 if ($ref eq 'ARRAY') { }
0 1 elsif ($ref eq 'HASH') { }
98 0 0 unless exists $$arg{'cmd'} and ref $$arg{'cmd'} eq 'ARRAY'
107 0 0 if exists $$arg{'CHOMP_ERR'}
110 0 0 if exists $$arg{'CHOMP_OUT'}
113 0 0 if exists $$arg{'CROAK_ON_ERR'}
124 1 2 if (exists $ENV{'DEBUG_IPCR3S_CALL'}) { }
0 2 elsif ($TEE_SYSTEMCALL) { }
146 0 3 if $CROAK_ON_ERR and $$stderr ne ''
149 2 1 if (ref $stdout eq 'SCALAR') { }
1 0 elsif (ref $stdout eq 'ARRAY' and $CHOMP_OUT) { }
152 2 0 if $CHOMP_OUT
160 3 0 if (ref $stderr eq 'SCALAR') { }
0 0 elsif (ref $stderr eq 'ARRAY' and $CHOMP_OUT) { }
163 3 0 if $CHOMP_OUT
171 3 0 if $return_array