blib/lib/Set/Crontab.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 29 | 34 | 85.2 |
line | true | false | branch |
---|---|---|---|
19 | 2 | 27 | if s[/(\d+)$][] |
22 | 10 | 19 | if (/^(\d+)$/) { } |
3 | 16 | elsif (/^\*$/) { } | |
8 | 8 | elsif (/^(\d+)-(\d+)$/) { } | |
4 | 4 | elsif (/^!(\d+)$/) { } | |
4 | 0 | elsif (/^([<>])(\d+)$/) { } | |
28 | 2 | 27 | if ($step) |
30 | 10 | 12 | if $i++ % $step == 0 |
36 | 2 | 9 | if (@and) |
38 | 8 | 14 | if eval $and |
41 | 4 | 7 | if (@not) |
43 | 29 | 4 | if eval $not |
3 | 1 | @list ? : | |
53 | 0 | 11 | unless ref $self |
55 | 0 | 11 | unless defined $spec and ref $range eq 'ARRAY' |
75 | 0 | 15 | unless ref $self and defined $num |
83 | 0 | 1 | unless ref $self |