Branch Coverage

blib/lib/App/RemoteCommand/SSH.pm
Criterion Covered Total %
branch 0 50 0.0


line true false branch
53 0 0 @_ ? :
61 0 0 if ($self->{'state'} == 1) { }
0 0 elsif ($self->{'state'} == 2) { }
0 0 elsif ($self->{'state'} == 3) { }
0 0 elsif ($self->{'state'} == 4) { }
0 0 elsif ($self->{'state'} == 5) { }
71 0 0 if ($signal and $self->{'current'} and $self->{'current'}{'type'} eq 'cmd' and my $pid = $self->{'current'}{'pid'})
90 0 0 unless $self->{'ssh'} and $self->{'ssh'}->error
112 0 0 if ($ssh and $exit_pid and $ssh->get_master_pid and $exit_pid == $ssh->get_master_pid)
121 0 0 if ($self->{'state'} == 1)
127 0 0 if ($self->{'state'} == 2)
129 0 0 if ($master_state) { }
0 0 elsif (not defined $master_state) { }
144 0 0 if ($self->{'state'} == 3)
145 0 0 if (not $self->{'current'} or $exit_pid and $self->{'current'} and $self->{'current'}{'pid'} == $exit_pid) { }
147 0 0 if ($self->{'current'})
150 0 0 if ($self->{'current'}{'type'} eq 'cmd')
156 0 0 if (@{$self->{'cmd'};}) { }
0 0 elsif ($self->{'at_exit'}) { }
164 0 0 if ($cmd)
167 0 0 if ($pid)
170 0 0 if $fh
186 0 0 if ($self->{'state'} == 4)
188 0 0 if (defined $master_state and not $master_state) { }
197 0 0 if ($self->{'state'} == 5)