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 1000 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 988 $config->{'defaults'} || {}
87 16 988 $config->{'namespace'}{$params{'namespace'} or 'Default'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
61 973 26 0 $stats{$class} ||= "CHI::Stats"->new("chi_root_class", $class)
91 16 0 988 $params{'storage'} || $namespace_defaults->{'storage'} || $core_defaults->{'storage'}
133 111 50 840 exists $params{'max_size'} or exists $params{'is_size_aware'}
136 132 18 851 exists $params{'l1_cache'} or exists $params{'mirror_cache'}