| blib/lib/Cache/Mmap.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 41 | 58.5 |
| line | l | !l | condition |
|---|---|---|---|
| 905 | 28 | 0 | $write && !$$self{'writethrough'} && 1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 246 | 0 | 0 | 44 | defined $$self{$_} and $$self{$_} =~ /^[1-9]\d*$/s |
| 346 | 40 | 0 | 2 | $expired and not $flags & 1 |
| 434 | 0 | 28 | 0 | $$self{'writethrough'} and my $write = $$self{'write'} |
| 480 | 3 | 0 | 0 | my $dsub = $$self{'delete'} and not $flags & 1 |
| 533 | 3 | 0 | 2 | defined $details && $details + 0 |
| 562 | 20 | 0 | 0 | $expiry and time - $time > $expiry |
| 925 | 1 | 0 | 0 | $$self{'write'} && !$$self{'writethrough'} |
| 1020 | 0 | 40 | 8 | $found and my $exp = $self->expiry |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 252 | 32 | 1 | 0 | not $$self{$_} or ref $$self{$_} eq 'CODE' |
| 319 | 5 | 4 | 38 | not $found or $expired |
| 373 | 0 | 0 | 7 | $found or $$self{'cachenegative'} |
| 1036 | 48 | 44 | 13 | $$self{'strings'} or $is_key |
| 1068 | 68 | 40 | 30 | $$self{'strings'} or $is_key |