blib/lib/Time/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 24 | 62.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
131 | 5 | 70 | 0 | scalar @hms and $hms[0] =~ /^\d{10}$/g || scalar @hms == 10 || scalar @hms == 9 |
line | l | !l | condition |
---|---|---|---|
150 | 59 | 3 | $hms[1] ||= '00' |
151 | 57 | 5 | $hms[2] ||= '00' |
234 | 0 | 31 | shift() || '%H:%M:%S' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
128 | 0 | 75 | 0 | ref $that || $that |
131 | 2 | 0 | 68 | $hms[0] =~ /^\d{10}$/g || scalar @hms == 10 || scalar @hms == 9 |
247 | 0 | 0 | 201 | $i != abs int $i or $i < 0 |
249 | 1 | 0 | 66 | $h > 23 or $m > 59 |
1 | 0 | 66 | $h > 23 or $m > 59 or $s > 59 |