blib/lib/Mojar/Cron/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 16 | 18.7 |
line | true | false | branch |
---|---|---|---|
51 | 0 | 0 | if ($parts[3] < 1 or 28 < $parts[3] and $parts[4] == 1 or 30 < $parts[3]) |
63 | 3 | 0 | if (shift()) =~ /^(\d{4})-(\d{2})-(\d{2})\b/ |
68 | 0 | 0 | if (shift()) =~ /^(\d{4})-(\d{2})-(\d{2})\b/ |
73 | 0 | 0 | if (shift()) =~ /^(\d{4})-(\d{2})-(\d{2})\b/ |
98 | 0 | 0 | unless $str |
99 | 0 | 0 | if $str =~ /^[-+]?\d+S?$/ |
100 | 0 | 0 | if $str =~ /^([-+]?\d+)([MHdwmy])$/ |
117 | 2 | 8 | $min < 0 ? : |