Branch Coverage

blib/lib/Parse/Crontab/Schedule/Entity.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
86 33 52 if ($self->aliases)
93 6 82 if ($increments) { }
94 0 6 unless $self->_is_range($range_or_num)
98 190 9 if $count % $increments == 0
103 44 38 if ($self->_is_range($range_or_num)) { }
107 3 35 unless $range_or_num =~ /^[0-9]+$/
108 0 35 if $range_or_num > $self->range_max
109 0 35 if $range_or_num < $self->range_min
115 19 63 if ($self->field eq 'day_of_week')
116 12 7 if (grep {$_ == 7;} @expanded)
126 47 41 if $str eq '*'
129 37 4 unless $to
130 0 4 unless $from =~ /^[0-9]+$/
131 1 3 unless $to =~ /^[0-9]+$/
133 0 3 if $to <= $from
134 0 3 if $to > $self->range_max
135 0 3 if $from < $self->range_min
145 47 3 if ($str eq '*') { }