| blib/lib/Cache/Funky.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 14 | 57.1 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 0 | 1 | if ref $class |
| 18 | 0 | 1 | unless $storage_class->require |
| 30 | 0 | 2 | if ref $class |
| 31 | 0 | 2 | unless defined $attribute |
| 32 | 0 | 2 | if not defined $code or ref $code ne 'CODE' |
| 41 | 6 | 3 | unless ($data = $self->_storage->get($package_attribute, $id)) |
| 63 | 0 | 1 | unless ref $attributes eq 'ARRAY' |