line |
true |
false |
branch |
122
|
10 |
110 |
unless (is_timeframe($tframe)) |
146
|
3 |
14 |
unless (is_weekday($weekday)) |
164
|
1 |
6 |
if $weekday eq "monday" |
165
|
1 |
5 |
if $weekday eq "tuesday" |
166
|
1 |
4 |
if $weekday eq "wednesday" |
167
|
1 |
3 |
if $weekday eq "thursday" |
168
|
1 |
2 |
if $weekday eq "friday" |
169
|
1 |
1 |
if $weekday eq "saturday" |
170
|
1 |
0 |
if $weekday eq "sunday" |
179
|
4 |
7 |
unless my($hr, $min) = (shift()) =~ /^(\d\d):(\d\d)$/u |
182
|
1 |
6 |
unless $hr >= 0 and $hr <= 23 |
183
|
1 |
5 |
unless $min >= 0 and $min <= 59 |
196
|
3 |
3 |
unless (is_time($time)) |
275
|
2 |
5 |
unless (subvol_exists($subvol, $config_ref)) |
303
|
17 |
102 |
unless (snap_exists($snap, $config_ref)) |
332
|
18 |
103 |
unless (ssh_backup_exists($ssh_backup, $config_ref)) |
362
|
17 |
102 |
unless (local_backup_exists($local_backup, $config_ref)) |
379
|
2 |
4 |
if ssh_backup_exists($backup, $config_ref) |
392
|
1 |
2 |
unless (backup_exists($backup, $config_ref)) |
510
|
2 |
1 |
if ($tframe) { } |
578
|
2 |
1 |
if ($tframe) { } |
660
|
2 |
1 |
if ($tframe) { } |
697
|
1 |
2 |
if $subvol eq $config_ref->{'snaps'}{$snap}{'subvol'} |
717
|
1 |
2 |
if $subvol eq $config_ref->{'ssh_backups'}{$ssh_backup}{'subvol'} |
737
|
1 |
2 |
if $subvol eq $config_ref->{'local_backups'}{$local_backup}{'subvol'} |
757
|
18 |
12 |
if grep {$tframe eq $_;} snap_timeframes($snap, $config_ref) |
772
|
11 |
17 |
unless (snap_wants_timeframe($snap, $tframe, $config_ref)) |
793
|
18 |
12 |
if grep {$tframe eq $_;} ssh_backup_timeframes($ssh_backup, $config_ref) |
808
|
11 |
17 |
unless (ssh_backup_wants_timeframe($ssh_backup, $tframe, $config_ref)) |
830
|
18 |
12 |
if grep {$tframe eq $_;} local_backup_timeframes($local_backup, $config_ref) |
845
|
11 |
17 |
unless (local_backup_wants_timeframe($local_backup, $tframe, $config_ref)) |
865
|
1 |
4 |
if $tframe eq "5minute" |
866
|
1 |
3 |
if $tframe eq "hourly" |
867
|
1 |
2 |
if $tframe eq "daily" |
868
|
1 |
1 |
if $tframe eq "weekly" |
869
|
1 |
0 |
if $tframe eq "monthly" |
1040
|
1 |
4 |
if $tframe eq "5minute" |
1041
|
1 |
3 |
if $tframe eq "hourly" |
1042
|
1 |
2 |
if $tframe eq "daily" |
1043
|
1 |
1 |
if $tframe eq "weekly" |
1044
|
1 |
0 |
if $tframe eq "monthly" |
1215
|
1 |
4 |
if $tframe eq "5minute" |
1216
|
1 |
3 |
if $tframe eq "hourly" |
1217
|
1 |
2 |
if $tframe eq "daily" |
1218
|
1 |
1 |
if $tframe eq "weekly" |
1219
|
1 |
0 |
if $tframe eq "monthly" |