| lib/Cron/Toolkit/Pattern/NearestWeekday.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 21 | 80.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 28 | 2 | 75 | 80 | $target_dow >= 2 and $target_dow <= 5 |
| 35 | 0 | 33 | 44 | $before_dow >= 1 and $before_dow <= 5 |
| 33 | 43 | 1 | $before_dow >= 1 and $before_dow <= 5 and $dom == $day - 1 | |
| 38 | 0 | 43 | 33 | $after_dow >= 1 and $after_dow <= 5 |
| 43 | 32 | 1 | $after_dow >= 1 and $after_dow <= 5 and $dom == $day + 1 | |
| 75 | 0 | 1 | $after_dow >= 1 and $after_dow <= 5 and $dom == $day + 1 and $day + 1 <= $days_in_month |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 24 | 0 | 30 | 157 | $day < 1 or $day > $days_in_month |