blib/lib/Cache/Scalar/WithExpiry.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
27 | 9 | 23 | if (defined $$self[0] and $$self[0] <= &Time::HiRes::time()) |
31 | 0 | 32 | wantarray ? : |
37 | 6 | 14 | if (defined $self->get) { } |
38 | 3 | 3 | wantarray ? : |
49 | 2 | 16 | if (not $expiry or $expiry <= 0) { } |
59 | 3 | 15 | wantarray ? : |