blib/lib/XAO/DO/Cache/Memory.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 23 | 78.2 |
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 |
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'} || '' |
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 |