Condition Coverage

blib/lib/Bot/BasicBot/Pluggable/Module/Crontab.pm
Criterion Covered Total %
condition 4 24 16.6


and 3 conditions

line !l l&&!r l&&r condition
61 1 0 0 $cron->{'modulus'} and $cron->{'result'} == $wkno % $cron->{'modulus'}
0 1 0 $cron->{'weekno'} =~ /^\d+$/ and $wkno == $cron->{'weekno'}
0 0 0 $cron->{'modulus'} and $cron->{'result'} == $wkno % $cron->{'modulus'}
0 0 0 $cron->{'weekno'} =~ /^\d+$/ and $wkno == $cron->{'weekno'}

or 3 conditions

line l !l&&r !l&&!r condition
61 0 0 1 $cron->{'weekno'} eq '*' or $cron->{'modulus'} and $cron->{'result'} == $wkno % $cron->{'modulus'}
0 0 1 $cron->{'weekno'} eq '*' or $cron->{'modulus'} and $cron->{'result'} == $wkno % $cron->{'modulus'} or $cron->{'weekno'} =~ /^\d+$/ and $wkno == $cron->{'weekno'}
0 0 0 $cron->{'weekno'} eq '*' or $cron->{'modulus'} and $cron->{'result'} == $wkno % $cron->{'modulus'}
0 0 0 $cron->{'weekno'} eq '*' or $cron->{'modulus'} and $cron->{'result'} == $wkno % $cron->{'modulus'} or $cron->{'weekno'} =~ /^\d+$/ and $wkno == $cron->{'weekno'}