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
119 0 0 0 $$host{'ssh'} and $state eq 'suspended' || $state eq 'waiting' || $state eq 'join_failed'
189 0 0 0 $action ne 'sub' && ref $_[0] eq 'HASH'
190 0 0 0 %opts and grep(($action eq $_), ('join', 'here'))
196 0 0 0 defined $max and $max < @_
200 0 0 0 defined $min and $min > @_
533 0 0 0 $action eq 'parsub' and $$task[0]{'no_ssh'}
588 0 0 0 $@ and $debug
657 0 0 0 $$task[0] eq 'here' and $$task[2] eq $target

or 2 conditions

line l !l condition
281 0 0 _hash_chain_get('reconnections', $opts, $host, $self) || 0
282 0 0 $$host{'current_task_reconnections'}++ || 0

or 3 conditions

line l !l&&r !l&&!r condition
112 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'
119 0 0 0 $state eq 'suspended' || $state eq 'waiting' || $state eq 'join_failed'
131 0 0 0 $sel2re_cache{$part} ||= do { $part = quotemeta $part; $part =~ s/\\\*/.*/g; qr/^$part$/ }
289 0 0 0 $on_error ||= _hash_chain_get('on_error', $opts, $host, $self)
300 0 0 0 not defined $on_error or $error == 101
341 0 0 0 $on_error == 202 or $on_error == 203
0 0 0 $on_error == 202 or $on_error == 203 or $on_error == 204
560 0 0 0 $ssh && $ssh->error || dualvar($action eq 'parsub' ? 'Unable to fork parsub' : "Action $action failed to start", 2)
659 0 0 0 $task or $target eq 'END'
684 0 0 0 $error or $rc == 255
689 0 0 0 $error ||= dualvar(2, "child exited with non-zero return code ($rc)")