Branch Coverage

blib/lib/Cache/Memory/Simple/ID.pm
Criterion Covered Total %
branch 10 12 83.3


line true false branch
16 6 13 if ($val and defined $val->[0]) { }
17 4 2 if ($val->[0] > &Time::HiRes::time()) { }
31 0 0 if (my $val = $self->get($id)) { }
43 6 4 defined $expiration ? :
66 1 77 if (defined $self->[$id] and $self->[$id][0] < &Time::HiRes::time())
77 5 153 if ref $id eq 'ARRAY'