Condition Coverage

blib/lib/XAO/Cache.pm
Criterion Covered Total %
condition 16 29 55.1


and 3 conditions

line !l l&&!r l&&r condition
75 8 0 0 ref $_[0] && ref $_[0] ne 'HASH'
135 1507 0 10 ref $_[0] && ref $_[0] ne 'HASH'
258 1 0 8 &XAO::Projects::get_current_project_name() && &XAO::Projects::get_current_project()
261 1 0 8 $config and $config->can('get')

or 2 conditions

line l !l condition
264 8 0 $config->get('/cache/config/common') || {}
271 6 3 $args->{'backend'} || 'Cache::Memory'
301 2 7 $args->{'expire'} || 0
2 7 $args->{'size'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
277 9 0 0 $args->{'retrieve'} || 'XAO::E::Cache'->throw(q[new - no 'retrive' argument])
284 0 0 0 $args->{'coords'} || $args->{'coordinates'} || 'XAO::E::Cache'->throw(q[new - no 'coords' argument])
317 0 9 0 ref $proto || $proto