blib/lib/Date/ISO8601.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 39 | 42 | 92.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
194 | 18 | 39 | 6 | $sign eq '' and length $digits > 4 |
218 | 312 | 315 | 0 | &_fmod($y, 4) == 0 && (&_fmod($y, 100) != 0 || &_fmod($y, 400) == 0) |
226 | 0 | 0 | 57 | $m >= 1 and $m <= 12 |
279 | 1 | 1 | 37 | $m >= 1 and $m <= 12 |
284 | 1 | 3 | 33 | $d >= 1 and $d <= $md |
311 | 1 | 1 | 7 | $m >= 0 and $m < 100 |
313 | 1 | 1 | 5 | $d >= 0 and $d < 100 |
382 | 1 | 2 | 357 | $d >= 1 and $d <= $yd |
412 | 1 | 1 | 5 | $d >= 0 and $d < 1000 |
492 | 1 | 2 | 65 | $w >= 1 and $w <= $yw |
494 | 1 | 1 | 63 | $d >= 1 and $d <= 7 |
524 | 1 | 1 | 7 | $w >= 0 and $w < 100 |
526 | 1 | 1 | 5 | $d >= 0 and $d < 10 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
453 | 61 | 6 | 102 | $phase == 3 || $phase == 2 && &_year_leap($y) |