| lib/Class/Simple/Readonly/Cached.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 28 | 46.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 105 | 0 | 0 | 1 | $$params{'cache'}->can('get') && $$params{'cache'}->can('set') && $$params{'cache'}->can('purge') |
| 0 | 1 | 0 | ref $$params{"cache"} ne "HASH" and not $$params{'cache'}->can('get') && $$params{'cache'}->can('set') && $$params{'cache'}->can('purge') | |
| 227 | 0 | 0 | 2 | defined $^V and $^V ge "v5.14.0" |
| 307 | 0 | 0 | 0 | ref $_ ne "ARRAY" and ref $_ ne "HASH" |
| 0 | 0 | 0 | ref $_ ne "ARRAY" and ref $_ ne "HASH" and ref $_ ne "SCALAR" |
| line | l | !l | condition |
|---|---|---|---|
| 96 | 0 | 1 | Params::Get::get_params(undef, @_) || {} |
| 101 | 16 | 0 | Params::Get::get_params('cache', @_) || {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 197 | 2 | 1 | 1 | $method eq 'new' || $$self{'object'}->can($method) || $self->SUPER::can($method) |
| 210 | 13 | 0 | 3 | $class eq ref $self or $class eq __PACKAGE__ |
| 13 | 1 | 2 | $class eq ref $self or $class eq __PACKAGE__ or $self->SUPER::isa($class) |