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'} ? :
52 0 0 if (@args) { }
59 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) { }
69 0 0 if ($signal and $self->{'current'} and $self->{'current'}{'type'} eq "cmd" and my $pid = $self->{'current'}{'pid'})
87 0 0 unless $self->{'ssh'} and $self->{'ssh'}->error
106 0 0 if ($ssh and $exit_pid and $ssh->get_master_pid and $exit_pid == $ssh->get_master_pid)
115 0 0 if ($self->{'state'} == 1)
121 0 0 if ($self->{'state'} == 2)
123 0 0 if ($master_state) { }
0 0 elsif (not defined $master_state) { }
138 0 0 if ($self->{'state'} == 3)
139 0 0 if (not $self->{'current'} or $exit_pid and $self->{'current'} and $self->{'current'}{'pid'} == $exit_pid) { }
141 0 0 if ($self->{'current'})
144 0 0 if ($self->{'current'}{'type'} eq "cmd")
150 0 0 if (@{$self->{'cmd'}}) { }
0 0 elsif ($self->{'at_exit'}) { }
158 0 0 if ($cmd)
161 0 0 if ($pid)
164 0 0 if $fh
180 0 0 if ($self->{'state'} == 4)
182 0 0 if (defined $master_state and not $master_state) { }
191 0 0 if ($self->{'state'} == 5)