Branch Coverage

blib/lib/Bot/BasicBot/Pluggable/Module/Crontab.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
37 0 0 unless ($file)
55 0 0 unless $$cron{'tab'}->match(time)
57 0 0 unless $$cron{'weekno'} eq '*' or ($$cron{'modulus'} and $$cron{'result'} == 'DateTime'->now->week_number % $$cron{'modulus'} or $$cron{'weekno'} =~ /^\d+$/ and 'DateTime'->now->week_number == $$cron{'weekno'})
78 0 0 unless my $fn = $self->store->get('crontab', 'file')
79 0 0 unless -r $fn
82 0 0 if $mod <= $load_time
86 0 0 unless my $fh = 'IO::File'->new($fn, 'r')
90 0 0 unless $line
92 0 0 if $line =~ /^#/
93 0 0 if $line =~ /^$/
99 0 0 if $@
102 0 0 if $fields[5] =~ m[^\d+/\d+]