Condition Coverage

blib/lib/Time/Interval.pm
Criterion Covered Total %
condition 13 29 44.8


and 3 conditions

line !l l&&!r l&&r condition
34 0 1 0 $date1 and $date2
115 5 0 5 $p{'Small'} and $p{'Small'} != 0
1 0 4 $p{'String'} and $p{'String'} != 0
175 5 0 5 ref $a eq 'ARRAY' and ref $b eq 'ARRAY'
178 0 0 5 $$b[0] >= $$a[0] and $$b[0] <= $$a[1]
0 0 0 $$a[0] >= $$b[0] and $$a[0] <= $$b[1]

or 2 conditions

line l !l condition
33 0 1 shift() || ''
123 5 0 join(' ', @temp) || '0s'
136 4 0 join(', ', @temp) || '0 seconds'
148 1 0 shift() || []

or 3 conditions

line l !l&&r !l&&!r condition
40 2 0 0 Date::Parse::str2time($_) || do { warn "failed to parse date: $!\n"; return undef }