Branch Coverage

blib/lib/App/Yabsm/Backup/Local.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
50 0 0 if (bootstrap_lock_file($local_backup, "local", $config_ref))
56 0 0 unless (is_btrfs_dir($backup_dir) and -r $backup_dir)
68 0 0 unless opendir my $dh, $backup_dir
79 0 0 if ($num_backups == $to_keep + 1) { }
0 0 elsif ($num_backups <= $to_keep) { }
108 0 0 if (bootstrap_lock_file($local_backup, "local", $config_ref))
115 0 0 if (my $local_boot_snap = the_local_bootstrap_snapshot($local_backup, "local", $config_ref))
118 0 0 if (my $remote_boot_snap = the_remote_bootstrap_snapshot($local_backup, $config_ref))
144 0 0 unless ($local_boot_snap and $remote_boot_snap)
163 0 0 unless (-d $backup_dir_base and -r $backup_dir_base)
168 0 0 unless opendir my $dh, $backup_dir_base
174 0 0 if (0 == @boot_snaps) { }
0 0 elsif (1 == @boot_snaps) { }