Condition Coverage

blib/lib/Date/ISO8601.pm
Criterion Covered Total %
condition 38 42 90.4


and 3 conditions

line !l l&&!r l&&r condition
195 18 39 6 $sign eq '' and length $digits > 4
219 312 315 0 _fmod($y, 4) == 0 && (_fmod($y, 100) != 0 || _fmod($y, 400) == 0)
227 0 0 57 $m >= 1 and $m <= 12
280 1 1 37 $m >= 1 and $m <= 12
285 1 3 33 $d >= 1 and $d <= $md
312 1 1 7 $m >= 0 and $m < 100
314 1 1 5 $d >= 0 and $d < 100
383 1 2 357 $d >= 1 and $d <= $yd
413 1 1 5 $d >= 0 and $d < 1000
493 1 2 65 $w >= 1 and $w <= $yw
495 1 1 63 $d >= 1 and $d <= 7
525 1 1 7 $w >= 0 and $w < 100
527 1 1 5 $d >= 0 and $d < 10

or 3 conditions

line l !l&&r !l&&!r condition
454 61 0 108 $phase == 3 || $phase == 2 && _year_leap $y