Branch Coverage

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


line true false branch
22 0 0 $args{'configfile'} ? :
54 0 0 @_ ? :
62 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) { }
72 0 0 if ($signal and $self->{'current'} and $self->{'current'}{'type'} eq 'cmd' and my $pid = $self->{'current'}{'pid'})
91 0 0 unless $self->{'ssh'} and $self->{'ssh'}->error
113 0 0 if ($ssh and $exit_pid and $ssh->get_master_pid and $exit_pid == $ssh->get_master_pid)
122 0 0 if ($self->{'state'} == 1)
128 0 0 if ($self->{'state'} == 2)
130 0 0 if ($master_state) { }
0 0 elsif (not defined $master_state) { }
145 0 0 if ($self->{'state'} == 3)
146 0 0 if (not $self->{'current'} or $exit_pid and $self->{'current'} and $self->{'current'}{'pid'} == $exit_pid) { }
148 0 0 if ($self->{'current'})
151 0 0 if ($self->{'current'}{'type'} eq 'cmd')
157 0 0 if (@{$self->{'cmd'};}) { }
0 0 elsif ($self->{'at_exit'}) { }
165 0 0 if ($cmd)
168 0 0 if ($pid)
171 0 0 if $fh
187 0 0 if ($self->{'state'} == 4)
189 0 0 if (defined $master_state and not $master_state) { }
198 0 0 if ($self->{'state'} == 5)