Branch Coverage

blib/lib/IO/Iron/Applications/IronCache/Functionality.pm
Criterion Covered Total %
branch 0 108 0.0


line true false branch
55 0 0 if defined $params{'config'}
56 0 0 if defined $params{'policies'}
86 0 0 if ($params{'alternatives'}) { }
88 0 0 if ($client->is_item_key_alternatives) { }
94 0 0 if ($client->is_cache_name_alternatives) { }
111 0 0 if ($client->is_item_key_alternatives) { }
117 0 0 if ($client->is_cache_name_alternatives) { }
136 0 0 if ($IO::Iron::Applications::IronCache::Functionality::EVAL_ERROR) { }
170 0 0 if ($alternative =~ /^$candidate$/)
192 0 0 if ($alternative =~ /$candidate/)
215 0 0 if defined $params{'config'}
216 0 0 if defined $params{'policies'}
232 0 0 if defined $$info{'data_size'}
233 0 0 if defined $$info{'created_at'}
234 0 0 if defined $$info{'updated_at'}
255 0 0 if defined $params{'config'}
256 0 0 if defined $params{'policies'}
280 0 0 if defined $params{'config'}
281 0 0 if defined $params{'policies'}
306 0 0 if (not $cache and $params{'item_info'}{'create_cache'})
310 0 0 if ($cache) { }
314 0 0 if $params{'item_info'}{'expires_in'}
320 0 0 if ($rval)
364 0 0 if ($IO::Iron::Applications::IronCache::Functionality::EVAL_ERROR) { }
378 0 0 if (exists $results{$sorted_key}{'error'})
401 0 0 if (not $cache and $params{'item_info'}{'create_cache'})
405 0 0 if ($cache) { }
410 0 0 if ($rval)
450 0 0 if ($IO::Iron::Applications::IronCache::Functionality::EVAL_ERROR) { }
464 0 0 if (exists $results{$sorted_key}{'error'})
487 0 0 if ($cache) { }
489 0 0 if ($item) { }
493 0 0 if $item->expires
535 0 0 if ($IO::Iron::Applications::IronCache::Functionality::EVAL_ERROR) { }
549 0 0 if (exists $results{$sorted_key}{'value'}) { }
579 0 0 if ($cache) { }
582 0 0 if ($rval)
623 0 0 if ($IO::Iron::Applications::IronCache::Functionality::EVAL_ERROR) { }
637 0 0 if (exists $results{$sorted_key}{'error'})
697 0 0 if defined $params{'config'}
698 0 0 if defined $params{'policies'}
718 0 0 unless blessed $_ and $_->can('rethrow')
719 0 0 if ($_->isa('IronHTTPCallException')) { }
720 0 0 if ($_->status_code == 404) { }
755 0 0 unless blessed $_ and $_->can('rethrow')
756 0 0 if ($_->isa('IronHTTPCallException')) { }
757 0 0 if ($_->status_code == 404) { }
797 0 0 if ($params{'operation'} eq 'put') { }
0 0 elsif ($params{'operation'} eq 'increment') { }
0 0 elsif ($params{'operation'} eq 'delete') { }
809 0 0 unless blessed $_ and $_->can('rethrow')
810 0 0 if ($_->isa('IronHTTPCallException')) { }
811 0 0 if ($_->status_code == 404) { }
0 0 elsif ($_->status_code == 400 and $_->response_message eq 'Cannot increment or decrement non-numeric value') { }