Branch Coverage

blib/lib/Cache/CacheFactory/Expiry/Time.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
27 0 2 if exists $$param{'default_expires_in'}
30 0 2 if exists $$param{'default_prune_after'}
34 0 0 $$param{'default_valid_until'} eq 'forever' ? :
0 2 if exists $$param{'default_valid_until'}
64 0 2 if exists $$self{'default_valid_until'}
66 0 2 if exists $$param{'expires_in'}
70 0 2 $$param{'valid_until'} eq 'forever' ? :
2 0 if exists $$param{'valid_until'}
92 0 2 if exists $$self{'default_prune_after'}
94 0 2 if exists $$param{'expires_in'}
96 2 0 if exists $$param{'prune_after'}
116 0 11 unless defined $expires
117 0 11 if $expires eq $Cache::Cache::EXPIRES_NOW
118 0 11 if $expires eq $Cache::Cache::EXPIRES_NEVER
119 3 8 if $when >= $expires