Condition Coverage

lib/Remote/Perl.pm
Criterion Covered Total %
condition 43 55 78.1


and 3 conditions

line !l l&&!r l&&r condition
102 0 0 1 defined $chunk and length $chunk
130 8103 61 51 $in_fd >= 0 and not $self->{'_stdin_eof_sent'}
8164 23 28 $in_fd >= 0 and not $self->{'_stdin_eof_sent'} and $self->{'_stdin_credits'} > 0
168 297 0 1424 $self->{'_no_stdin'} and not $self->{'_stdin_eof_sent'}
181 3 28 0 $self->{'serve'} and not $self->{'_mod_srv'}
182 3 0 28 $self->{'serve'} && $self->{'_mod_srv'}
208 256 13 260 $self->{'_stdin_credits'} > 0 and length $self->{'_stdin_str'}
260 459 974 23 not $flags and $self->{'data_warn'}
974 18 5 not $flags and $self->{'data_warn'} and $source =~ /^__DATA__(?:\r?\n|$)/mu

or 2 conditions

line l !l condition
58 1522 0 $args{'cmd'} // die("'cmd' is required\n")
101 1421 $args{'window'} // 65536
80 1442 $args{'serve'} // 0
1415 107 $args{'tmpfile'} // 0
52 1470 $args{'data_warn'} // 0
38 0 $args{'inc'} // \@INC
126 23 0 fileno $stdin_fh // -1
257 1296 160 $opts{'warnings'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
128 4290 1 8215 &$pred() or $self->{'_done'}
155 1177 0 0 $self->{'_on_stdout'} // sub { }
159 294 0 0 $self->{'_on_stderr'} // sub { }
213 251 9 9 length $self->{'_stdin_str'} || $self->{'_stdin_eof_sent'}