Condition Coverage

blib/lib/Date/Convert.pm
Criterion Covered Total %
condition 44 84 52.3


and 3 conditions

line !l l&&!r l&&r condition
129 1 2 0 $year % 400 and not $year % 100
300 62 30 9 $days >= $_ and $days - $_ < $day
345 271 152 16 'Date::Convert::Hebrew'->is_leap($year) and $guess == 2
423 16 0 'Date::Convert::Hebrew'->is_leap($year) and $guess == 2 and $hour > 9 || $hour == 9 && $part >= 204
272 138 23 'Date::Convert::Hebrew'->is_leap($year - 1) and $guess == 1
410 23 0 'Date::Convert::Hebrew'->is_leap($year - 1) and $guess == 1 and $hour > 15 || $hour == 15 && $part > 589

or 2 conditions

line l !l condition
178 6 0 shift() || (return Date::Convert::initialize())
255 6 0 shift() || (return Date::Convert::initialize())
449 3 0 shift() || (return Date::Convert::initialize())

or 3 conditions

line l !l&&r !l&&!r condition
34 2 0 0 shift() || $VERSION_TODAY
128 9 8 0 shift() || $self->year
129 14 0 3 $year % 4 or $year % 400 and not $year % 100
179 6 0 0 shift() || croak('Date::Convert::Gregorian::initialize needs more args')
181 6 0 0 shift() || croak('Date::Convert::Gregorian::initialize needs more args')
200 0 0 6 $month < 1 or $month > 12
204 0 0 6 $day < 1 or $day + $$MONTH_REF[$month - 1] > $$MONTH_REF[$month]
256 6 0 0 shift() || croak('Date::Convert::Hebrew::initialize needs more args')
258 6 0 0 shift() || croak('Date::Convert::Hebrew::initialize needs more args')
333 617 6 0 shift() || $self->year
345 6 0 10 $hour > 9 || $hour == 9 && $part >= 204
184 0 439 $hour >= 18 or 'Date::Convert::Hebrew'->is_leap($year) and $guess == 2 and $hour > 9 || $hour == 9 && $part >= 204
7 0 16 $hour > 15 || $hour == 15 && $part > 589
0 0 433 $hour >= 18 or 'Date::Convert::Hebrew'->is_leap($year) and $guess == 2 and $hour > 9 || $hour == 9 && $part >= 204 or 'Date::Convert::Hebrew'->is_leap($year - 1) and $guess == 1 and $hour > 15 || $hour == 15 && $part > 589
447 3 0 0 shift() || croak('Date::Convert::Julian::initialize needs more args')
450 3 0 0 shift() || croak('Date::Convert::Julian::initialize needs more args')
452 3 0 0 shift() || croak('Date::Convert::Julian::initialize needs more args')
468 0 0 3 $month < 1 or $month > 12
472 0 0 3 $day < 1 or $day + $$MONTH_REF[$month - 1] > $$MONTH_REF[$month]
507 0 2 0 shift() || $self->year