Condition Coverage

blib/lib/IPC/Run/IO.pm
Criterion Covered Total %
condition 28 49 57.1


and 2 conditions

line l !l condition
79 0 0 $@ and die

and 3 conditions

line !l l&&!r l&&r condition
131 4334 0 0 &Win32_MODE() and $class eq "IPC::Run::IO"
163 108 104 0 &IPC::Run::input_avail() && do { $self->{'DEST'}->($$in_ref); $$in_ref = ''; 1 }
191 0 33 43 @in == 1 and not defined $in[0]
223 568 259 14 $self->{'HARNESS'}{'clear_ins'} and length $$internal > $max_chunk
274 1 0 1 $self->mode =~ /r/ and ref $self->{'DEST'} eq "SCALAR"
289 1 0 1 $self->{'DEST'} and ref $self->{'DEST'} eq "SCALAR"
528 1679 428 2368 $self->{'DEST'} and ref $self->{'DEST'} eq "SCALAR"
530 0 2887 1588 $self->{'FILTERS'} and @{$self->{'FILTERS'};}
587 8610 0 0 ($@ || '') =~ /$IPC::Run::_EAGAIN/ and $redos++ < 200

or 2 conditions

line l !l condition
587 0 8610 $@ || ''

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 0 eval "use IPC::Run::Win32Helper; require IPC::Run::Win32IO; 1" or $@ and die
102 0 9 0 ref $class || $class
111 1 0 0 ref $external eq "GLOB" or UNIVERSAL::isa($external, "IO::Handle")
129 0 4334 0 ref $class || $class
191 12 43 33 not @in or @in == 1 and not defined $in[0]
213 1881 337 841 &IPC::Run::_empty(${$$self{"SOURCE"};}) or $self->{'SOURCE_EMPTY'}