Branch Coverage

blib/lib/Parse/Crontab/Schedule.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
64 6 11 if (my $def = $self->definition) { }
66 0 6 unless $definition
68 5 1 if ($def ne 'reboot')
76 16 1 if (exists $s{'minute'})
106 1 2 if (my(@warns) = $self->_check_warnings)
116 4 7 if ($self->minute . '' eq '*')
120 1 10 if ($self->day_of_week . '' ne '*' and $self->day . '' ne '*')
131 2 17 unless $self->$s->match($args{$s})
134 2 3 if ($self->day_of_week . '' ne '*') { }
135 0 2 unless $args{'year'}
141 1 1 unless $self->day_of_week->match($day->day_of_week)
144 1 2 unless $self->day->match($args{'day'})