Condition Coverage

blib/lib/CHI.pm
Criterion Covered Total %
condition 19 21 90.4


and 3 conditions

line !l l&&!r l&&r condition
75 884 2 4 $$config{'memoize_cache_objects'} and keys %params <= 1

or 2 conditions

line l !l condition
46 3 1 $memoized_cache_objects{$class} ||= {}
85 16 872 $$config{'defaults'} || {}
86 16 872 $$config{'namespace'}{$params{'namespace'} or 'Default'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
61 859 24 0 $stats{$class} ||= 'CHI::Stats'->new('chi_root_class', $class)
88 16 0 872 $params{'storage'} || $$namespace_defaults{'storage'} || $$core_defaults{'storage'}
133 96 44 745 exists $params{'max_size'} or exists $params{'is_size_aware'}
136 123 15 747 exists $params{'l1_cache'} or exists $params{'mirror_cache'}