Condition Coverage

blib/lib/Cache/CacheFactory.pm
Criterion Covered Total %
condition 8 32 25.0


and 3 conditions

line !l l&&!r l&&r condition
131 103 0 0 $$self{'compat'}{'positional_set'} and $$self{'compat'}{'positional_set'} ne 'auto' || $_[0] ne 'key'
154 0 0 0 defined($next_arg = shift()) and $next_arg eq 'mode'
765 16 0 0 exists $$self{'compat'}{'default_expires_in'} and $$policies{'param'}{'time'}
16 0 0 exists $$self{'compat'}{'default_expires_in'} and $$policies{'param'}{'time'} and not exists $$policies{'param'}{'time'}{'default_expires_in'}
777 5 0 11 $policytype eq 'storage' and not exists $$param{'namespace'}

or 2 conditions

line l !l condition
55 5 6 $options{'namespace'} || 'Default'

or 3 conditions

line l !l&&r !l&&!r condition
51 0 11 0 ref $class || $class
131 0 0 0 $$self{'compat'}{'positional_set'} ne 'auto' || $_[0] ne 'key'
559 0 0 0 $time_pruning or $time_validity
580 0 0 0 $time_pruning or $time_validity
666 0 0 0 $self->get_auto_purge_on_get_interval || $self->get_auto_purge_on_set_interval