Branch Coverage

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


line true false branch
23 0 0 $args{'configfile'} ? :
55 0 0 @_ ? :
63 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) { }
73 0 0 if ($signal and $self->{'current'} and $self->{'current'}{'type'} eq "cmd" and my $pid = $self->{'current'}{'pid'})
92 0 0 unless $self->{'ssh'} and $self->{'ssh'}->error
114 0 0 if ($ssh and $exit_pid and $ssh->get_master_pid and $exit_pid == $ssh->get_master_pid)
123 0 0 if ($self->{'state'} == 1)
129 0 0 if ($self->{'state'} == 2)
131 0 0 if ($master_state) { }
0 0 elsif (not defined $master_state) { }
146 0 0 if ($self->{'state'} == 3)
147 0 0 if (not $self->{'current'} or $exit_pid and $self->{'current'} and $self->{'current'}{'pid'} == $exit_pid) { }
149 0 0 if ($self->{'current'})
152 0 0 if ($self->{'current'}{'type'} eq "cmd")
158 0 0 if (@{$self->{'cmd'};}) { }
0 0 elsif ($self->{'at_exit'}) { }
166 0 0 if ($cmd)
169 0 0 if ($pid)
172 0 0 if $fh
188 0 0 if ($self->{'state'} == 4)
190 0 0 if (defined $master_state and not $master_state) { }
199 0 0 if ($self->{'state'} == 5)