Condition Coverage

blib/lib/Date/Easy/Datetime.pm
Criterion Covered Total %
condition 34 39 87.1


and 3 conditions

line !l l&&!r l&&r condition
119 25 20 2665 $month >= 0 and $month <= 11
45 0 2665 $month >= 0 and $month <= 11 and $day >= 1
20 16 2649 $month >= 0 and $month <= 11 and $day >= 1 and $day <= 31
16 4 2645 $month >= 0 and $month <= 11 and $day >= 1 and $day <= 31 and $hour <= 23
20 8 2637 $month >= 0 and $month <= 11 and $day >= 1 and $day <= 31 and $hour <= 23 and $min <= 59
12 0 2637 $month >= 0 and $month <= 11 and $day >= 1 and $day <= 31 and $hour <= 23 and $min <= 59 and $sec <= 59
307 2316 0 17 &blessed($_[1]) and $_[1]->isa('Date::Easy::Units')
320 853 33 16 &blessed($_[1]) and $_[1]->isa('Date::Easy::Units')
853 0 33 &blessed($_[1]) and $_[1]->isa('Date::Easy::Datetime')
330 3 0 30 $lhs->isa('Date::Easy::Date') && $rhs->isa('Date::Easy::Date')

or 2 conditions

line l !l condition
115 749 1961 $hour ||= 0
744 1966 $min ||= 0
661 2049 $sec ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
182 4940 16 3273 @_ == 2 || @_ == 7