| blib/lib/Cache/Escalate.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 14 | 92.8 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 2 | 8 | if (not $args{'caches'} or ref $args{'caches'} ne 'ARRAY' or not scalar @{$args{'caches'};}) |
| 25 | 3 | 15 | unless (_looks_like_cache($cache)) |
| 40 | 3 | 45 | unless $cache->can($method) |
| 57 | 3 | 3 | if (defined $value) |
| 65 | 0 | 3 | unless defined $value |
| 66 | 1 | 2 | if $self->sync_level == $SYNC_LEVEL_NONE |
| 68 | 1 | 1 | $self->sync_level == $SYNC_LEVEL_MISSED ? : |