Condition Coverage

blib/lib/Net/OpenSSH/Parallel.pm
Criterion Covered Total %
condition 0 64 0.0


and 3 conditions

line !l l&&!r l&&r condition
121 0 0 0 $host->{'ssh'} and $state eq 'suspended' || $state eq 'waiting' || $state eq 'join_failed'
191 0 0 0 $action ne 'sub' && ref $_[0] eq 'HASH'
192 0 0 0 %opts and grep(($action eq $_), ('join', 'here'))
198 0 0 0 defined $max and $max < @_
202 0 0 0 defined $min and $min > @_
535 0 0 0 $action eq 'parsub' and $task->[0]{'no_ssh'}
592 0 0 0 $@ and $debug
661 0 0 0 $task->[0] eq 'here' and $task->[2] eq $target

or 2 conditions

line l !l condition
283 0 0 _hash_chain_get('reconnections', $opts, $host, $self) || 0
284 0 0 $host->{'current_task_reconnections'}++ || 0

or 3 conditions

line l !l&&r !l&&!r condition
114 0 0 0 $old eq 'suspended' or $old eq 'waiting'
0 0 0 $old eq 'suspended' or $old eq 'waiting' or $old eq 'join_failed'
121 0 0 0 $state eq 'suspended' || $state eq 'waiting' || $state eq 'join_failed'
133 0 0 0 $sel2re_cache{$part} ||= do { $part = quotemeta $part; $part =~ s/\\\*/.*/g; qr/^$part$/ }
291 0 0 0 $on_error ||= _hash_chain_get('on_error', $opts, $host, $self)
302 0 0 0 not defined $on_error or $error == 101
343 0 0 0 $on_error == 202 or $on_error == 203
0 0 0 $on_error == 202 or $on_error == 203 or $on_error == 204
564 0 0 0 $ssh && $ssh->error || &dualvar(scalar($action eq 'parsub' ? 'Unable to fork parsub' : "Action $action failed to start"), 2)
663 0 0 0 $task or $target eq 'END'
688 0 0 0 $error or $rc == 255
693 0 0 0 $error ||= &dualvar(2, "child exited with non-zero return code ($rc)")