blib/lib/Input/Validator/Constraint/Time.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 14 | 71.4 |
line | true | false | branch |
---|---|---|---|
15 | 1 | 7 | unless defined $h and defined $m and defined $s |
17 | 0 | 7 | unless $h =~ /^\d+$/ |
18 | 2 | 5 | unless $h >= 0 and $h <= 23 |
20 | 0 | 5 | unless $m =~ /^\d+$/ |
21 | 1 | 4 | unless $m >= 0 and $m <= 59 |
23 | 0 | 4 | unless $s =~ /^\d+$/ |
24 | 0 | 4 | unless $s >= 0 and $s <= 59 |