Branch Coverage

blib/lib/Email/Fingerprint/Cache.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
96 7 8 defined $$args{'hash'} ? :
102 5 10 defined $$args{'backend'} ? :
114 4 11 if ($@)
132 2 13 if $@ or not $backend
157 1 4 if $self->get_backend->is_locked
158 1 3 if $self->get_backend->is_open
287 5 2 defined $opts{'ttl'} ? :
293 6604 3004 if $now - $timestamp > $ttl or $ttl < 0
317 2 13 if ($backend and $backend->is_open)
337 2 41 unless $backend