Branch Coverage

blib/lib/App/Yabsm/Backup/Generic.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
65 0 0 unless opendir my $dh, $tmp_snapshot_dir
83 0 0 if ($backup_type eq 'ssh') { }
0 0 elsif ($backup_type eq 'local') { }
110 0 0 if ($backup_type eq 'ssh') { }
0 0 elsif ($backup_type eq 'ssh') { }
120 0 0 if ($die_unless_exists{'DIE_UNLESS_EXISTS'})
121 0 0 unless (-d $tmp_snapshot_dir and -r $tmp_snapshot_dir)
144 0 0 if ($backup_type eq 'ssh') { }
0 0 elsif ($backup_type eq 'local') { }
152 0 0 if (my $bootstrap_snapshot = the_local_bootstrap_snapshot($backup, $backup_type, $config_ref))
174 0 0 if (my $boot_snap = the_local_bootstrap_snapshot($backup, $backup_type, $config_ref))
195 0 0 if ($backup_type eq "ssh")
198 0 0 if ($backup_type eq "local")
204 0 0 if ($or_die{'DIE_UNLESS_EXISTS'})
205 0 0 unless (-d $bootstrap_dir and -r $bootstrap_dir)
232 0 0 unless opendir my $dh, $bootstrap_dir
237 0 0 if (0 == @boot_snaps) { }
0 0 elsif (1 == @boot_snaps) { }
282 0 0 if (my $existing_lock_file = bootstrap_lock_file($backup, $backup_type, $config_ref))
304 0 0 unless ($backup_type =~ /^(ssh|local)$/u)