Branch Coverage

blib/lib/App/Yabsm/Backup/SSH.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
58 0 0 if (bootstrap_lock_file($ssh_backup, "ssh", $config_ref))
99 0 0 if ($num_backups == $to_keep + 1) { }
0 0 elsif ($num_backups <= $to_keep) { }
129 0 0 if (bootstrap_lock_file($ssh_backup, "ssh", $config_ref))
138 0 0 if (my $local_boot_snap = the_local_bootstrap_snapshot($ssh_backup, "ssh", $config_ref))
141 0 0 if (my $remote_boot_snap = the_remote_bootstrap_snapshot($ssh, $ssh_backup, $config_ref))
174 0 0 unless ($local_boot_snap and $remote_boot_snap)
198 0 0 if (0 == @boot_snaps) { }
0 0 elsif (1 == @boot_snaps) { }
220 0 0 unless my $home_dir = (getpwuid $<)[7]
226 0 0 unless (-f $pub_key)
231 0 0 unless (-f $priv_key)
246 0 0 if ($ssh->error)
260 0 0 ref $_[0] eq 'HASH' ? :
263 0 0 wantarray ? :
265 0 0 if ($ssh->error)
270 0 0 wantarray ? :
327 0 0 if ($stderr)