Condition Coverage

blib/lib/Time/Crontab.pm
Criterion Covered Total %
condition 24 33 72.7


and 3 conditions

line !l l&&!r l&&r condition
129 0 1 18 $self->_contains('minute', $lt[1]) and $self->_contains('hour', $lt[2])
1 0 18 $self->_contains('minute', $lt[1]) and $self->_contains('hour', $lt[2]) and $self->_contains('month', $lt[4] + 1)
133 6 8 4 $self->_contains_any('day') and $self->_contains_any('day_of_week')
6 7 1 $self->_contains_any('day') and $self->_contains('day_of_week', $lt[6])
2 11 0 $self->_contains('day', $lt[3]) and $self->_contains_any('day_of_week')
8 5 0 not $self->_contains_any('day') || $self->_contains_any('day_of_week') and $self->_contains('day', $lt[3]) || $self->_contains('day_of_week', $lt[6])

or 3 conditions

line l !l&&r !l&&!r condition
133 4 0 14 $self->_contains_any('day') and $self->_contains_any('day_of_week') or $self->_contains_any('day') and $self->_contains('day_of_week', $lt[6])
1 0 13 $self->_contains_any('day') and $self->_contains_any('day_of_week') or $self->_contains_any('day') and $self->_contains('day_of_week', $lt[6]) or $self->_contains('day', $lt[3]) and $self->_contains_any('day_of_week')
7 1 5 $self->_contains_any('day') || $self->_contains_any('day_of_week')
4 1 0 $self->_contains('day', $lt[3]) || $self->_contains('day_of_week', $lt[6])
0 0 13 $self->_contains_any('day') and $self->_contains_any('day_of_week') or $self->_contains_any('day') and $self->_contains('day_of_week', $lt[6]) or $self->_contains('day', $lt[3]) and $self->_contains_any('day_of_week') or not $self->_contains_any('day') || $self->_contains_any('day_of_week') and $self->_contains('day', $lt[3]) || $self->_contains('day_of_week', $lt[6])