Branch Coverage

blib/lib/Memoize/Memcached.pm
Criterion Covered Total %
branch 3 50 6.0


line true false branch
44 0 0 if (exists $args{'LIST_CACHE'} or exists $args{'ARRAY_CACHE'})
50 0 0 unless ref $memcached_args eq 'HASH'
63 0 0 if defined $args{'NORMALIZER'}
82 0 0 if @_ == 1
93 0 0 if (@_ > 1)
99 0 0 if (defined $normalizer) { }
120 0 0 unless $memo_data{$function}{'list_obj'}
137 2 1 unless $arg eq 'memcached'
139 0 1 unless ref $memcached_config eq 'HASH'
160 0 0 unless defined $args{'key_prefix'}
162 0 0 unless defined $function
172 0 0 defined $function ? :
0 0 defined $list_key_prefix ? :
176 0 0 unless $$tie_data{'list_obj'} = tie(%{$$tie_data{'list_cache'};}, 'Memoize::Memcached', %cur_args)
180 0 0 defined $function ? :
0 0 defined $scalar_key_prefix ? :
184 0 0 unless $$tie_data{'scalar_obj'} = tie(%{$$tie_data{'scalar_cache'};}, 'Memoize::Memcached', %cur_args)
193 0 0 if ref $class
206 0 0 unless defined $$self{'key_prefix'}
207 0 0 exists $args{'expire_time'} ? :
215 0 0 exists $args{$_} ? :
246 0 0 if defined $$self{'expire_time'}
283 0 0 unless $$self{'key_error'}
290 0 0 unless $$self{'key_error'}
297 0 0 unless $$self{'scalar_error'}