Branch Coverage

blib/lib/HON/EC2/Snapshots/Monitoring.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
40 12 189 if ($line =~ /Starting\s\w+\sBackup\s--\s(\d{1,2}-\d{2}-\d{4})/gi)
41 4 8 if ($1 eq $date)
46 97 104 if ($keepLogs == 1)
50 12 189 if ($line =~ /Backup\sdone/gi)
71 3 94 if ($line =~ /^Snapshots\staken\sby\sec2-automate-backup-awscli\.sh/gi)
74 4 93 if ($line =~ /Tagging\sSnapshot\ssnap-/gi)
77 2 95 if ($line =~ /Snapshot\sPurging\sis/gi)
80 4 93 if ($line =~ /PurgeAfterFE\sdate/gi)