blib/lib/XAO/Cache.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 29 | 55.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
75 | 8 | 0 | 0 | ref $_[0] && ref $_[0] ne 'HASH' |
135 | 2383 | 0 | 10 | ref $_[0] && ref $_[0] ne 'HASH' |
258 | 1 | 0 | 14 | &XAO::Projects::get_current_project_name() && &XAO::Projects::get_current_project() |
261 | 1 | 0 | 14 | $config and $config->can('get') |
line | l | !l | condition |
---|---|---|---|
264 | 14 | 0 | $config->get('/cache/config/common') || {} |
271 | 12 | 3 | $args->{'backend'} || 'Cache::Memory' |
301 | 2 | 13 | $args->{'expire'} || 0 |
2 | 13 | $args->{'size'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
277 | 15 | 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 | 15 | 0 | ref $proto || $proto |