Condition Coverage

blib/lib/XAO/DO/Cache/Memory.pm
Criterion Covered Total %
condition 18 23 78.2


and 3 conditions

line !l l&&!r l&&r condition
163 795 1 715 $ed && (!$expire || $ed->{'access_time'} + $expire > time)
213 175 619 418 $size and $self->{'current_size'} + $nsz > $size
175 616 3 $expire and $lred->{'access_time'} + $expire < $now
277 0 420 1 defined $self->{'most_recent'} and $self->{'most_recent'} eq $key

or 2 conditions

line l !l condition
249 2 7 $args->{'expire'} || 0
250 2 7 $args->{'size'} || 0
317 0 0 $ed->{'previous'} || ''
0 0 $ed->{'next'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
213 418 3 791 $size and $self->{'current_size'} + $nsz > $size or $expire and $lred->{'access_time'} + $expire < $now