Branch Coverage

blib/lib/Sys/RevoBackup/Utils.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
25 0 0 if ($cfg) { }
34 0 0 if ($source =~ /:/)
36 0 0 if ($hostname =~ /@/)
39 0 0 if ($host eq $hostname)
52 0 0 if (_backup_status_ok($dir) and _backup_ts_ok($dir)) { }
63 0 0 unless $dir
64 0 0 unless -e $dir . '/log'
69 0 0 if ($line =~ /^BACKUP-STATUS: OK/i)
80 0 0 unless $dir
81 0 0 unless -e $dir . '/log'
86 0 0 if ($line =~ /^BACKUP-FINISHED: (\d+)/)
90 0 0 if (time - $finish_ts < 86400)