Branch Coverage

blib/lib/XAO/Cache.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
75 0 8 ref $_[0] && ref $_[0] ne 'HASH' ? :
79 0 8 unless defined $c[0]
96 2 0 if ($self->{'backend'}->can('drop_all')) { }
135 10 2383 ref $_[0] && ref $_[0] ne 'HASH' ? :
139 0 2393 unless defined $c[0]
145 12 2381 $args->{'force_update'} ? :
147 715 1678 if defined $data_ref
149 4 1674 $object ? :
258 0 15 $args->{'sitename'} ? :
261 14 1 if ($config and $config->can('get'))
264 12 2 $args->{'name'} ? :
273 15 0 unless ref $backend
279 0 15 unless ref $retrieve eq 'CODE'
287 0 15 unless ref $coords
289 0 15 unless ref $coords eq 'ARRAY'
292 0 15 if grep {$_ eq 'force_update';} @$coords
312 0 15 if $backend->can('exists')