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 1 0 if ($self->{'backend'}->can('drop_all')) { }
135 10 1507 ref $_[0] && ref $_[0] ne 'HASH' ? :
139 0 1517 unless defined $c[0]
145 6 1511 $args->{'force_update'} ? :
147 715 802 if defined $data_ref
149 4 798 $object ? :
258 0 9 $args->{'sitename'} ? :
261 8 1 if ($config and $config->can('get'))
264 6 2 $args->{'name'} ? :
273 9 0 unless ref $backend
279 0 9 unless ref $retrieve eq 'CODE'
287 0 9 unless ref $coords
289 0 9 unless ref $coords eq 'ARRAY'
292 0 9 if grep {$_ eq 'force_update';} @$coords
312 0 9 if $backend->can('exists')