Branch Coverage

blib/lib/CHI.pm
Criterion Covered Total %
branch 2 28 7.1


line true false branch
23 1 0 if @_
29 0 1 if (my(@bad_keys) = grep({not $valid_config_keys{$_};} keys %$config))
75 0 0 if ($$config{'memoize_cache_objects'} and keys %params <= 1)
78 0 0 if (my $cache_object = $$cache_objects{$cache_object_key})
93 0 0 if (defined $storage)
94 0 0 unless $storage_defaults = $$config{'storage'}{$storage}
106 0 0 if (my $driver = delete $params{'driver'}) { }
114 0 0 unless defined $driver_class
119 0 0 unless ($driver_class->can('fetch'))
129 0 0 if (exists $params{$param_name})
133 0 0 if (exists $params{'max_size'} or exists $params{'is_size_aware'})
136 0 0 if (exists $params{'l1_cache'} or exists $params{'mirror_cache'})
139 0 0 if ($params{'is_subcache'})
159 0 0 if ($cache_object_key)