Condition Coverage

blib/lib/Date/RetentionPolicy.pm
Criterion Covered Total %
condition 16 23 69.5


and 3 conditions

line !l l&&!r l&&r condition
54 0 341 4636 $i >= 0 and $sorted[$i][0] > $ref_date->epoch
77 1019 0 24256 $epoch - abs($drift) <= $reference_date->epoch and $search_idx < @$list
79 363 23893 102115 $i < @$list and $list->[$i][0] < $epoch + $drift + $radius
80 49673 31246 21196 $list->[$i][0] >= $epoch + $drift - $radius and !defined($best) || abs $list->[$i][0] - ($epoch + $drift) < abs $list->[$best][0] - ($epoch + $drift)
177 1801 0 0 ref $thing && ref($thing)->can('set_time_zone')
186 0 1460 20305 not ref $thing and &looks_like_number($thing)

or 2 conditions

line l !l condition
148 0 0 $row[$_] ||= '|'

or 3 conditions

line l !l&&r !l&&!r condition
80 20160 15810 16472 !defined($best) || abs $list->[$i][0] - ($epoch + $drift) < abs $list->[$best][0] - ($epoch + $drift)