Condition Coverage

blib/lib/Date/Tie.pm
Criterion Covered Total %
condition 51 61 83.6


and 3 conditions

line !l l&&!r l&&r condition
63 12 1 2 $value < 0 and $frac != 0
77 13 0 3 $value < 0 and $frac != 0
164 1 20 0 exists $$self{'month'} and $$self{'month'} == $value
174 1 3 17 $value >= $Date::Tie::Min{$key} and $value <= $Date::Tie::Max{$key}
196 2 11 0 exists $$self{'year'} and $$self{'year'} == $value
240 6 16 58 $value >= $Date::Tie::Min{$key} and $value <= $Date::Tie::Max{$key}
22 1 57 $value >= $Date::Tie::Min{$key} and $value <= $Date::Tie::Max{$key} and $key ne 'weekday'
17 0 57 $value >= $Date::Tie::Min{$key} and $value <= $Date::Tie::Max{$key} and $key ne 'weekday' and $key ne 'yearday'
1 2 55 $value >= $Date::Tie::Min{$key} and $value <= $Date::Tie::Max{$key} and $key ne 'weekday' and $key ne 'yearday' and $key ne 'week'
288 0 10 5 $value >= 0 and $value < 10
357 4 0 2 $$self{'week'} < 2 and $$self{'month'} > 10
358 6 0 0 $$self{'week'} > 50 and $$self{'month'} < 2

or 2 conditions

line l !l condition
152 1 0 $$self{'tz100'} || 0
339 15 41 $$self{'tz100'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
51 37 9 172 $i_value != $value or $key eq 'frac'
46 2 170 $i_value != $value or $key eq 'frac' or exists $Date::Tie::Frac{$key}
58 3 12 16 $value < 0 or $value >= 1
137 3 13 143 $key eq 'tzhour' or $key eq 'tzminute'
312 22 4 52 $key eq 'epoch' or not exists $$self{'epoch'}
341 3 3 50 $key eq 'week' or $key eq 'weekyear'
393 3 3 0 ref $class || $class